Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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
    IAttribute.CopyTo(IAttribute)
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.dll
    Syntax
    public interface NumericTokenStream.INumericTermAttribute : IAttribute

    Properties

    RawValue

    Returns current token's raw value as long with all Shift applied, undefined before first token

    Declaration
    long RawValue { get; }
    Property Value
    Type Description
    long

    Shift

    Returns current shift value, undefined before first token

    Declaration
    int Shift { get; set; }
    Property Value
    Type Description
    int

    ValueSize

    Returns value size in bits (32 for float, int; 64 for double, long)

    Declaration
    int ValueSize { get; }
    Property Value
    Type Description
    int

    Methods

    IncShift()

    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
    int

    Init(long, int, int, int)

    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
    long value
    int valSize
    int precisionStep
    int shift
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.