Uses of Class
com.attivio.sdk.token.TokenAnnotation
-
Packages that use TokenAnnotation Package Description com.attivio.sdk.search.query.phrase Contains all phrase operators.com.attivio.sdk.test com.attivio.sdk.token Models a token that can be both indexed and searched for in the Attivio repository. -
-
Uses of TokenAnnotation in com.attivio.sdk.search.query.phrase
Methods in com.attivio.sdk.search.query.phrase with parameters of type TokenAnnotation Modifier and Type Method Description booleanPhraseTerm. containsAnnotation(TokenAnnotation value)Returns true if the specified annotation is set.voidPhraseTerm. setAnnotation(TokenAnnotation value)Set a TokenAnnotation.voidPhraseTerm. unsetAnnotation(TokenAnnotation value)Unset a TokenAnnotation.Constructors in com.attivio.sdk.search.query.phrase with parameters of type TokenAnnotation Constructor Description PhraseTerm(TokenAnnotation annotation)Constructor.PhraseTerm(TokenAnnotation... annotation)Constructor.SearchTerm(java.lang.String text, TokenAnnotation annotation)Constructor.SearchTerm(java.lang.String text, TokenAnnotation... annotation)Constructor.WildcardTerm(java.lang.String text, TokenAnnotation annotation)ConstructorWildcardTerm(java.lang.String text, TokenAnnotation... annotation)Constructor -
Uses of TokenAnnotation in com.attivio.sdk.test
Methods in com.attivio.sdk.test with parameters of type TokenAnnotation Modifier and Type Method Description QueryAssertQueryAssert. ignore(TokenAnnotation annotation)Removeannotationfrom actual query, as well as from expected query before doing comparisons. -
Uses of TokenAnnotation in com.attivio.sdk.token
Methods in com.attivio.sdk.token that return TokenAnnotation Modifier and Type Method Description static TokenAnnotationTokenAnnotation. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TokenAnnotation[]TokenAnnotation. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.attivio.sdk.token with parameters of type TokenAnnotation Modifier and Type Method Description voidPosition. add(java.lang.CharSequence token, TokenAnnotation annotation, boolean indexed)Add an annotated token to this Position.voidPosition. add(java.lang.String token, TokenAnnotation annotation)Add an annotated token to this Position.voidPosition. add(java.lang.String token, TokenAnnotation annotation, boolean indexed)Add an annotated token to this Position.booleanPosition. contains(TokenAnnotation annotation)Returnstrueif any token at this position is marked withannotation.booleanToken. containsAnnotation(TokenAnnotation annotation)Returns true if the specified annotation is set.booleanTokenAnnotationSet. containsAnnotation(TokenAnnotation annotation)Returns true if the specified annotation is set.Token[]Position. get(TokenAnnotation annotation)Get all Tokens for this position that contain the specified annotation.static longTokenAnnotation. mask(TokenAnnotation... annotations)Get the union of masks forannotations.voidPosition. remove(TokenAnnotation annotation)Remove all tokens from this Position with the specifiedannotation.voidTokenList. remove(TokenAnnotation annotation)Remove all tokens annotated withannotation.voidToken. setAnnotation(TokenAnnotation annotation)Set a TokenAnnotation.voidTokenAnnotationSet. setAnnotation(TokenAnnotation annotation)Set a TokenAnnotation.voidToken. unsetAnnotation(TokenAnnotation annotation)Unset a TokenAnnotation.voidTokenAnnotationSet. unsetAnnotation(TokenAnnotation annotation)Unset a TokenAnnotation.Constructors in com.attivio.sdk.token with parameters of type TokenAnnotation Constructor Description Token(java.lang.String text, TokenAnnotation annotation)Construct a new annotated token withtext.
-