Interface BytesTerm
- All Superinterfaces:
QueryTerm
A term for a byte query.
-
Method Summary
Methods inherited from interface QueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Method Details
-
getBytes
byte[] getBytes()Gets thebytesin the term.- Returns:
- the bytes
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
isPartial
boolean isPartial()Tests if this is a partial or complete match.- Returns:
trueif a partial match,falsefor a complete match- Compliance:
mandatory- This method must be implemented.
-