Class NumericTokenStream.NumericTermAttribute
Implementation of NumericTokenStream.INumericTermAttribute.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
@since 4.0
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.dll
Syntax
public sealed class NumericTermAttribute : Attribute, NumericTokenStream.INumericTermAttribute, ITermToBytesRefAttribute, IAttribute
Constructors
| Improve this Doc View SourceNumericTermAttribute()
Creates, but does not yet initialize this attribute instance
Declaration
public NumericTermAttribute()
See Also
Properties
| Improve this Doc View SourceBytesRef
Declaration
public BytesRef BytesRef { get; }
Property Value
Type | Description |
---|---|
BytesRef |
RawValue
Declaration
public long RawValue { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Shift
Declaration
public int Shift { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ValueSize
Declaration
public int ValueSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceClear()
Declaration
public override void Clear()
Overrides
| Improve this Doc View SourceCopyTo(IAttribute)
Declaration
public override void CopyTo(IAttribute target)
Parameters
Type | Name | Description |
---|---|---|
IAttribute | target |
Overrides
| Improve this Doc View SourceFillBytesRef()
Declaration
public void FillBytesRef()
IncShift()
Declaration
public int IncShift()
Returns
Type | Description |
---|---|
System.Int32 |
Init(Int64, Int32, Int32, Int32)
Declaration
public void Init(long value, int valueSize, int precisionStep, int shift)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | |
System.Int32 | valueSize | |
System.Int32 | precisionStep | |
System.Int32 | shift |
ReflectWith(IAttributeReflector)
Declaration
public override void ReflectWith(IAttributeReflector reflector)
Parameters
Type | Name | Description |
---|---|---|
IAttributeReflector | reflector |