Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SingleEncoder

    Encode a character array System.Single as a Lucene.Net.Util.BytesRef.

    NOTE: This was FloatEncoder in Lucene

    Inheritance
    System.Object
    AbstractEncoder
    SingleEncoder
    Implements
    IPayloadEncoder
    Inherited Members
    AbstractEncoder.Encode(Char[])
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Payloads
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class SingleEncoder : AbstractEncoder, IPayloadEncoder

    Methods

    | Improve this Doc View Source

    Encode(Char[], Int32, Int32)

    Declaration
    public override BytesRef Encode(char[] buffer, int offset, int length)
    Parameters
    Type Name Description
    System.Char[] buffer
    System.Int32 offset
    System.Int32 length
    Returns
    Type Description
    Lucene.Net.Util.BytesRef
    Overrides
    AbstractEncoder.Encode(Char[], Int32, Int32)

    Implements

    IPayloadEncoder

    See Also

    EncodeSingle(Single, Byte[], Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.