public static final class FSTCompletion.Completion extends java.lang.Object implements java.lang.Comparable<FSTCompletion.Completion>
Modifier and Type | Field and Description |
---|---|
int |
bucket
source bucket (weight) of the suggestion
|
BytesRef |
utf8
UTF-8 bytes of the suggestion
|
Constructor and Description |
---|
Completion(BytesRef key,
int bucket) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FSTCompletion.Completion o) |
java.lang.String |
toString() |
public final BytesRef utf8
public final int bucket
Completion(BytesRef key, int bucket)
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(FSTCompletion.Completion o)
compareTo
in interface java.lang.Comparable<FSTCompletion.Completion>
BytesRef.compareTo(BytesRef)