Uses of Class
org.apache.lucene.util.BytesRef

Packages that use BytesRef
org.apache.lucene.analysis.synonym Analysis components for Synonyms. 
org.apache.lucene.util Some utility classes. 
org.apache.lucene.util.fst Finite state transducers 
 

Uses of BytesRef in org.apache.lucene.analysis.synonym
 

Fields in org.apache.lucene.analysis.synonym with type parameters of type BytesRef
 FST<BytesRef> SynonymMap.fst
          map>
 

Constructor parameters in org.apache.lucene.analysis.synonym with type arguments of type BytesRef
SynonymMap(FST<BytesRef> fst, BytesRefHash words, int maxHorizontalContext)
           
 

Uses of BytesRef in org.apache.lucene.util
 

Methods in org.apache.lucene.util that return BytesRef
 BytesRef BytesRefHash.get(int ord, BytesRef ref)
          Populates and returns a BytesRef with the bytes for the given ord.
 BytesRef ByteBlockPool.setBytesRef(BytesRef term, int textStart)
           
 

Methods in org.apache.lucene.util that return types with arguments of type BytesRef
static Comparator<BytesRef> BytesRef.getUTF8SortedAsUnicodeComparator()
           
static Comparator<BytesRef> BytesRef.getUTF8SortedAsUTF16Comparator()
           
 

Methods in org.apache.lucene.util with parameters of type BytesRef
 int BytesRefHash.add(BytesRef bytes)
          Adds a new BytesRef
 int BytesRefHash.add(BytesRef bytes, int code)
          Adds a new BytesRef with a pre-calculated hash code.
 void BytesRef.append(BytesRef other)
           
 boolean BytesRef.bytesEquals(BytesRef other)
           
 int BytesRef.compareTo(BytesRef other)
          Unsigned byte order comparison
 void ByteBlockPool.copy(BytesRef bytes)
          Copies the given BytesRef at the current positions ( ByteBlockPool.byteUpto across buffer boundaries
 void BytesRef.copy(BytesRef other)
           
 boolean BytesRef.endsWith(BytesRef other)
           
 BytesRef BytesRefHash.get(int ord, BytesRef ref)
          Populates and returns a BytesRef with the bytes for the given ord.
 BytesRef ByteBlockPool.setBytesRef(BytesRef term, int textStart)
           
 boolean BytesRef.startsWith(BytesRef other)
           
static void UnicodeUtil.UTF16toUTF8(char[] source, int offset, int length, BytesRef result)
          Encode characters from a char[] source, starting at offset for length chars.
static void UnicodeUtil.UTF16toUTF8(CharSequence s, int offset, int length, BytesRef result)
          Encode characters from this String, starting at offset for length characters.
static int UnicodeUtil.UTF16toUTF8WithHash(char[] source, int offset, int length, BytesRef result)
          Encode characters from a char[] source, starting at offset for length chars.
static void UnicodeUtil.UTF8toUTF16(BytesRef bytesRef, CharsRef chars)
          Utility method for UnicodeUtil.UTF8toUTF16(byte[], int, int, CharsRef)
 

Method parameters in org.apache.lucene.util with type arguments of type BytesRef
 int[] BytesRefHash.sort(Comparator<BytesRef> comp)
          Returns the values array sorted by the referenced byte values.
 

Constructors in org.apache.lucene.util with parameters of type BytesRef
BytesRef(BytesRef other)
           
 

Uses of BytesRef in org.apache.lucene.util.fst
 

Fields in org.apache.lucene.util.fst declared as BytesRef
 BytesRef BytesRefFSTEnum.InputOutput.input
           
 

Methods in org.apache.lucene.util.fst that return BytesRef
 BytesRef ByteSequenceOutputs.add(BytesRef prefix, BytesRef output)
           
 BytesRef ByteSequenceOutputs.common(BytesRef output1, BytesRef output2)
           
 BytesRef ByteSequenceOutputs.getNoOutput()
           
 BytesRef ByteSequenceOutputs.read(DataInput in)
           
 BytesRef ByteSequenceOutputs.subtract(BytesRef output, BytesRef inc)
           
 

Methods in org.apache.lucene.util.fst with parameters of type BytesRef
 BytesRef ByteSequenceOutputs.add(BytesRef prefix, BytesRef output)
           
 void Builder.add(BytesRef input, T output)
           
 BytesRef ByteSequenceOutputs.common(BytesRef output1, BytesRef output2)
           
static
<T> T
Util.get(FST<T> fst, BytesRef input)
          Looks up the output for this input, or null if the input is not accepted
 String ByteSequenceOutputs.outputToString(BytesRef output)
           
 BytesRefFSTEnum.InputOutput<T> BytesRefFSTEnum.seekCeil(BytesRef target)
          Seeks to smallest term that's >= target.
 BytesRefFSTEnum.InputOutput<T> BytesRefFSTEnum.seekFloor(BytesRef target)
          Seeks to biggest term that's <= target.
 BytesRef ByteSequenceOutputs.subtract(BytesRef output, BytesRef inc)
           
 void ByteSequenceOutputs.write(BytesRef prefix, DataOutput out)
           
 



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.