Show / Hide Table of Contents

    Class NumericTokenStream.NumericTermAttribute

    Implementation of NumericTokenStream.INumericTermAttribute. @lucene.internal @since 4.0

    Inheritance
    System.Object
    Attribute
    NumericTokenStream.NumericTermAttribute
    Implements
    NumericTokenStream.INumericTermAttribute
    ITermToBytesRefAttribute
    IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Attribute.ToString()
    Attribute.Clone()
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class NumericTermAttribute : Attribute, NumericTokenStream.INumericTermAttribute, ITermToBytesRefAttribute, IAttribute

    Constructors

    | Improve this Doc View Source

    NumericTermAttribute()

    Creates, but does not yet initialize this attribute instance

    Declaration
    public NumericTermAttribute()
    See Also
    Init(Int64, Int32, Int32, Int32)

    Properties

    | Improve this Doc View Source

    BytesRef

    Declaration
    public BytesRef BytesRef { get; }
    Property Value
    Type Description
    BytesRef
    | Improve this Doc View Source

    RawValue

    Declaration
    public long RawValue { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Shift

    Declaration
    public int Shift { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ValueSize

    Declaration
    public int ValueSize { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Attribute.Clear()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    IAttribute target
    Overrides
    Attribute.CopyTo(IAttribute)
    | Improve this Doc View Source

    FillBytesRef()

    Declaration
    public void FillBytesRef()
    | Improve this Doc View Source

    IncShift()

    Declaration
    public int IncShift()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    ReflectWith(IAttributeReflector)

    Declaration
    public override void ReflectWith(IAttributeReflector reflector)
    Parameters
    Type Name Description
    IAttributeReflector reflector
    Overrides
    Attribute.ReflectWith(IAttributeReflector)

    Implements

    NumericTokenStream.INumericTermAttribute
    ITermToBytesRefAttribute
    IAttribute
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)