public abstract class AbstractAnalyzer
extends java.lang.Object
implements java.util.Iterator<java.nio.ByteBuffer>
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
next |
Constructor and Description |
---|
AbstractAnalyzer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
init(java.util.Map<java.lang.String,java.lang.String> options,
AbstractType<?> validator) |
protected abstract boolean |
isCompatibleWith(AbstractType<?> validator)
Test whether the given validator is compatible with the underlying analyzer.
|
boolean |
isTokenizing() |
java.nio.ByteBuffer |
next() |
static java.lang.String |
normalize(java.lang.String original) |
void |
remove() |
abstract void |
reset(java.nio.ByteBuffer input) |
void |
validate(java.util.Map<java.lang.String,java.lang.String> options,
ColumnMetadata cm) |
public java.nio.ByteBuffer next()
next
in interface java.util.Iterator<java.nio.ByteBuffer>
public void remove()
remove
in interface java.util.Iterator<java.nio.ByteBuffer>
public void validate(java.util.Map<java.lang.String,java.lang.String> options, ColumnMetadata cm) throws ConfigurationException
ConfigurationException
public abstract void init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
public abstract void reset(java.nio.ByteBuffer input)
protected abstract boolean isCompatibleWith(AbstractType<?> validator)
validator
- the validator to test the compatibility withpublic boolean isTokenizing()
public static java.lang.String normalize(java.lang.String original)
Copyright © 2009- The Apache Software Foundation