public interface Dictionary
Modifier and Type | Interface and Description |
---|---|
static class |
Dictionary.IMPL |
static interface |
Dictionary.Visitor
The interface for visitors.
|
static interface |
Dictionary.VisitorContext
The information about each node.
|
Modifier and Type | Field and Description |
---|---|
static int |
INITIAL_DICTIONARY_SIZE |
Modifier and Type | Method and Description |
---|---|
int |
add(byte[] bytes,
int offset,
int length) |
void |
clear() |
long |
getSizeInBytes() |
void |
getText(Text result,
int position)
Given the position index, return the original string before being encoded.
|
int |
size() |
void |
visit(Dictionary.Visitor visitor)
Traverse the whole dictionary and apply the action.
|
static final int INITIAL_DICTIONARY_SIZE
void visit(Dictionary.Visitor visitor) throws IOException
IOException
void clear()
void getText(Text result, int position)
int add(byte[] bytes, int offset, int length)
int size()
long getSizeInBytes()
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.