public class PrefixCodedTerms extends Object implements Accountable
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PrefixCodedTerms.Builder
Builds a PrefixCodedTerms: call add repeatedly, then finish. 
 | 
static class  | 
PrefixCodedTerms.TermIterator
An iterator over the list of terms stored in a  
PrefixCodedTerms. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
PrefixCodedTerms.TermIterator | 
iterator()
Return an iterator over the terms stored in this  
PrefixCodedTerms. | 
long | 
ramBytesUsed()
Return the memory usage of this object in bytes. 
 | 
void | 
setDelGen(long delGen)
Records del gen for this packet. 
 | 
long | 
size()
Return the number of terms stored in this  
PrefixCodedTerms. | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetChildResourcespublic long ramBytesUsed()
AccountableramBytesUsed in interface Accountablepublic void setDelGen(long delGen)
public PrefixCodedTerms.TermIterator iterator()
PrefixCodedTerms.public long size()
PrefixCodedTerms.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.