public static interface LegacyNumericTokenStream.LegacyNumericTermAttribute extends Attribute
| Modifier and Type | Method and Description |
|---|---|
long |
getRawValue()
Returns current token's raw value as
long with all getShift() applied, undefined before first token |
int |
getShift()
Returns current shift value, undefined before first token
|
int |
getValueSize()
Returns value size in bits (32 for
float, int; 64 for double, long) |
int |
incShift()
Don't call this method!
|
void |
init(long value,
int valSize,
int precisionStep,
int shift)
Don't call this method!
|
void |
setShift(int shift)
Don't call this method!
|
int getShift()
long getRawValue()
long with all getShift() applied, undefined before first tokenint getValueSize()
float, int; 64 for double, long)void init(long value,
int valSize,
int precisionStep,
int shift)
void setShift(int shift)
int incShift()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.