public class TrieParser extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
byte |
caseRuleMask |
byte |
ESCAPE_BYTE |
static byte |
ESCAPE_CMD_BYTES |
static byte |
ESCAPE_CMD_DECIMAL |
static byte |
ESCAPE_CMD_OPTIONAL_SIGNED_INT |
static byte |
ESCAPE_CMD_RATIONAL |
static byte |
ESCAPE_CMD_SIGNED_HEX |
static byte |
ESCAPE_CMD_SIGNED_INT |
static byte |
ESCAPE_CMD_UNSIGNED_HEX |
static byte |
ESCAPE_CMD_UNSIGNED_INT |
byte |
NO_ESCAPE_SUPPORT |
| Constructor and Description |
|---|
TrieParser() |
TrieParser(int size) |
TrieParser(int size,
boolean skipDeepChecks) |
TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction) |
TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction,
boolean ignoreCase) |
TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction,
boolean ignoreCase,
byte customEscape) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLimit() |
boolean |
isSkipDeepChecks() |
int |
lastSetValueExtractionCount() |
byte[] |
lastSetValueExtractonPattern()
Provides visibility into which fields will be extracted from the last known pattern
|
int |
longestKnown() |
int |
maxExtractedFields() |
void |
setMaxBytesCapturable(int value) |
void |
setMaxNumericLengthCapturable(int value) |
void |
setSkipDeepChecks(boolean value) |
int |
setUTF8Value(CharSequence prefix,
CharSequence cs,
CharSequence suffix,
long value) |
int |
setUTF8Value(CharSequence cs,
CharSequence suffix,
long value) |
int |
setUTF8Value(CharSequence cs,
long value) |
void |
setValue(byte[] source,
int offset,
int length,
int mask,
long value) |
void |
setValue(byte[] bytes,
long value) |
void |
setValue(Pipe p,
long value) |
int |
shortestKnown() |
<A extends Appendable> |
toDOT(A builder) |
void |
toDOTFile(File targetFile) |
String |
toString() |
StringBuilder |
toString(StringBuilder builder) |
void |
visitPatterns(TrieParserVisitor pv) |
public final byte ESCAPE_BYTE
public final byte NO_ESCAPE_SUPPORT
public static final byte ESCAPE_CMD_OPTIONAL_SIGNED_INT
public static final byte ESCAPE_CMD_SIGNED_INT
public static final byte ESCAPE_CMD_UNSIGNED_INT
public static final byte ESCAPE_CMD_SIGNED_HEX
public static final byte ESCAPE_CMD_UNSIGNED_HEX
public static final byte ESCAPE_CMD_DECIMAL
public static final byte ESCAPE_CMD_RATIONAL
public static final byte ESCAPE_CMD_BYTES
public final byte caseRuleMask
public TrieParser()
public TrieParser(int size)
public TrieParser(int size,
boolean skipDeepChecks)
public TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction)
public TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction,
boolean ignoreCase)
public TrieParser(int size,
int resultSize,
boolean skipDeepChecks,
boolean supportsExtraction,
boolean ignoreCase,
byte customEscape)
public byte[] lastSetValueExtractonPattern()
public int lastSetValueExtractionCount()
public int maxExtractedFields()
public int getLimit()
public void setSkipDeepChecks(boolean value)
public boolean isSkipDeepChecks()
public void setValue(byte[] source,
int offset,
int length,
int mask,
long value)
public StringBuilder toString(StringBuilder builder)
public void visitPatterns(TrieParserVisitor pv)
public <A extends Appendable> A toDOT(A builder)
public int setUTF8Value(CharSequence cs, long value)
public int setUTF8Value(CharSequence cs, CharSequence suffix, long value)
public int setUTF8Value(CharSequence prefix, CharSequence cs, CharSequence suffix, long value)
public void setValue(Pipe p, long value)
public int longestKnown()
public int shortestKnown()
public void setMaxBytesCapturable(int value)
public void setMaxNumericLengthCapturable(int value)
public void setValue(byte[] bytes,
long value)
public void toDOTFile(File targetFile)
Copyright © 2018. All Rights Reserved.