Package org.apache.orc.impl
Interface Dictionary.VisitorContext
- All Known Implementing Classes:
VisitorContextImpl
- Enclosing interface:
- Dictionary
public static interface Dictionary.VisitorContext
The information about each node.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the number of bytes.int
Get the position where the key was originally added.getText()
Get the original string.void
writeBytes
(OutputStream out) Write the bytes for the string to the given output stream.
-
Method Details
-
getOriginalPosition
int getOriginalPosition()Get the position where the key was originally added.- Returns:
- the number returned by add.
-
writeBytes
Write the bytes for the string to the given output stream.- Parameters:
out
- the stream to write to.- Throws:
IOException
-
getText
Text getText()Get the original string.- Returns:
- the string
-
getLength
int getLength()Get the number of bytes.- Returns:
- the string's length in bytes
-