Interface NumericTokenStream.INumericTermAttribute
Expert: Use this attribute to get the details of the currently generated token.
Note
This API is experimental and might change in incompatible ways in the next release.
@since 4.0
Inherited Members
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.dll
Syntax
public interface INumericTermAttribute : IAttribute
Properties
| Improve this Doc View SourceRawValue
Returns current token's raw value as System.Int64 with all Shift applied, undefined before first token
Declaration
long RawValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Shift
Returns current shift value, undefined before first token
Declaration
int Shift { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ValueSize
Returns value size in bits (32 for System.Single, System.Int32; 64 for System.Double, System.Int64)
Declaration
int ValueSize { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
| Improve this Doc View SourceIncShift()
Don't call this method!
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
int IncShift()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Init(Int64, Int32, Int32, Int32)
Don't call this method!
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
void Init(long value, int valSize, int precisionStep, int shift)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | value | |
| System.Int32 | valSize | |
| System.Int32 | precisionStep | |
| System.Int32 | shift |