Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use types in selects #217

Closed
reckart opened this issue Sep 27, 2021 · 0 comments
Closed

Use types in selects #217

reckart opened this issue Sep 27, 2021 · 0 comments
Assignees
Milestone

Comments

@reckart
Copy link
Member

reckart commented Sep 27, 2021

Is your feature request related to a problem? Please describe.
From the UIMA Java SDK, I am used to obtaining a type from the type system and then being able to use that type in select invocations. However, in cassis, the select methods only accept type names, not actual type objects.

Describe the solution you'd like
It would be nice if this would work:

Token = typesystem.getType("my.Token")
cas.select(Token)
@reckart reckart added this to the 0.6.0 milestone Sep 27, 2021
@reckart reckart self-assigned this Sep 27, 2021
@reckart reckart modified the milestones: 0.6.0, 0.7.0 Sep 27, 2021
@reckart reckart modified the milestones: 0.7.0, Backlog Dec 15, 2021
@reckart reckart modified the milestones: Backlog, 0.8.0 Feb 7, 2023
reckart added a commit that referenced this issue Feb 7, 2023
- Accept type name or type in selects
- Updated tests
reckart added a commit that referenced this issue Feb 7, 2023
@reckart reckart closed this as completed Feb 7, 2023
@reckart reckart modified the milestones: 0.8.0, 0.7.5 Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant