Class NonTokenizingAnalyzer
java.lang.Object
org.apache.cassandra.index.sasi.analyzer.AbstractAnalyzer
org.apache.cassandra.index.sasi.analyzer.NonTokenizingAnalyzer
- All Implemented Interfaces:
Iterator<ByteBuffer>
Analyzer that does *not* tokenize the input. Optionally will
apply filters for the input output as defined in analyzers options
-
Field Summary
Fields inherited from class org.apache.cassandra.index.sasi.analyzer.AbstractAnalyzer
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()voidinit(Map<String, String> options, AbstractType<?> validator) voidinit(NonTokenizingOptions tokenizerOptions, AbstractType<?> validator) booleanisCompatibleWith(AbstractType<?> validator) Test whether the given validator is compatible with the underlying analyzer.voidreset(ByteBuffer input) voidvalidate(Map<String, String> options, ColumnMetadata cm) Methods inherited from class org.apache.cassandra.index.sasi.analyzer.AbstractAnalyzer
isTokenizing, next, normalize, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NonTokenizingAnalyzer
public NonTokenizingAnalyzer()
-
-
Method Details
-
validate
- Overrides:
validatein classAbstractAnalyzer- Throws:
ConfigurationException
-
init
- Specified by:
initin classAbstractAnalyzer
-
init
-
hasNext
public boolean hasNext() -
reset
- Specified by:
resetin classAbstractAnalyzer
-
isCompatibleWith
Description copied from class:AbstractAnalyzerTest whether the given validator is compatible with the underlying analyzer.- Specified by:
isCompatibleWithin classAbstractAnalyzer- Parameters:
validator- the validator to test the compatibility with- Returns:
- true if the give validator is compatible, false otherwise
-