Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockUTF16TermAttributeImpl

    Extension of Lucene.Net.Analysis.TokenAttributes.CharTermAttribute that encodes the term text as UTF-16 bytes instead of as UTF-8 bytes.

    Inheritance
    object
    Attribute
    CharTermAttribute
    MockUTF16TermAttributeImpl
    Implements
    ICharTermAttribute
    ICharSequence
    ITermToBytesRefAttribute
    IAttribute
    IAppendable
    Inherited Members
    CharTermAttribute.CopyBuffer(char[], int, int)
    CharTermAttribute.Buffer
    CharTermAttribute.ResizeBuffer(int)
    CharTermAttribute.Length
    CharTermAttribute.SetLength(int)
    CharTermAttribute.SetEmpty()
    CharTermAttribute.BytesRef
    CharTermAttribute.this[int]
    CharTermAttribute.Subsequence(int, int)
    CharTermAttribute.Append(string, int, int)
    CharTermAttribute.Append(char)
    CharTermAttribute.Append(char[])
    CharTermAttribute.Append(char[], int, int)
    CharTermAttribute.Append(string)
    CharTermAttribute.Append(StringBuilder)
    CharTermAttribute.Append(StringBuilder, int, int)
    CharTermAttribute.Append(ICharTermAttribute)
    CharTermAttribute.Append(ICharSequence)
    CharTermAttribute.Append(ICharSequence, int, int)
    CharTermAttribute.GetHashCode()
    CharTermAttribute.Clear()
    CharTermAttribute.Clone()
    CharTermAttribute.Equals(object)
    CharTermAttribute.ToString()
    CharTermAttribute.ReflectWith(IAttributeReflector)
    CharTermAttribute.CopyTo(IAttribute)
    Attribute.ReflectAsString(bool)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockUTF16TermAttributeImpl : CharTermAttribute, ICharTermAttribute, ICharSequence, ITermToBytesRefAttribute, IAttribute, IAppendable

    Methods

    FillBytesRef()

    Updates the bytes Lucene.Net.Util.BytesRef to contain this term's final encoding.

    Declaration
    public override void FillBytesRef()
    Overrides
    Lucene.Net.Analysis.TokenAttributes.CharTermAttribute.FillBytesRef()

    Implements

    Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute
    J2N.Text.ICharSequence
    Lucene.Net.Analysis.TokenAttributes.ITermToBytesRefAttribute
    Lucene.Net.Util.IAttribute
    J2N.Text.IAppendable
    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.