public class PrefixCodedTerms extends java.lang.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(java.lang.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, wait
getChildResources
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public void setDelGen(long delGen)
public PrefixCodedTerms.TermIterator iterator()
PrefixCodedTerms
.public long size()
PrefixCodedTerms
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.