public static final class LegacyNumericTokenStream.LegacyNumericTermAttributeImpl extends AttributeImpl implements LegacyNumericTokenStream.LegacyNumericTermAttribute, TermToBytesRefAttribute
LegacyNumericTokenStream.LegacyNumericTermAttribute.| Constructor and Description | 
|---|
| LegacyNumericTermAttributeImpl()Creates, but does not yet initialize this attribute instance | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| LegacyNumericTokenStream.LegacyNumericTermAttributeImpl | clone() | 
| void | copyTo(AttributeImpl target) | 
| boolean | equals(Object obj) | 
| BytesRef | getBytesRef() | 
| long | getRawValue()Returns current token's raw value as  longwith allLegacyNumericTokenStream.LegacyNumericTermAttribute.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 fordouble,long) | 
| int | hashCode() | 
| int | incShift()Don't call this method! | 
| void | init(long value,
    int valueSize,
    int precisionStep,
    int shift)Don't call this method! | 
| void | reflectWith(AttributeReflector reflector) | 
| void | setShift(int shift)Don't call this method! | 
end, reflectAsStringpublic LegacyNumericTermAttributeImpl()
init(long, int, int, int)public BytesRef getBytesRef()
getBytesRef in interface TermToBytesRefAttributepublic int getShift()
LegacyNumericTokenStream.LegacyNumericTermAttributegetShift in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic void setShift(int shift)
LegacyNumericTokenStream.LegacyNumericTermAttributesetShift in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic int incShift()
LegacyNumericTokenStream.LegacyNumericTermAttributeincShift in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic long getRawValue()
LegacyNumericTokenStream.LegacyNumericTermAttributelong with all LegacyNumericTokenStream.LegacyNumericTermAttribute.getShift() applied, undefined before first tokengetRawValue in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic int getValueSize()
LegacyNumericTokenStream.LegacyNumericTermAttributefloat, int; 64 for double, long)getValueSize in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic void init(long value,
                 int valueSize,
                 int precisionStep,
                 int shift)
LegacyNumericTokenStream.LegacyNumericTermAttributeinit in interface LegacyNumericTokenStream.LegacyNumericTermAttributepublic void clear()
clear in class AttributeImplpublic void reflectWith(AttributeReflector reflector)
reflectWith in class AttributeImplpublic void copyTo(AttributeImpl target)
copyTo in class AttributeImplpublic LegacyNumericTokenStream.LegacyNumericTermAttributeImpl clone()
clone in class AttributeImplCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.