Package org.apache.orc.impl
Class StreamName
java.lang.Object
org.apache.orc.impl.StreamName
- All Implemented Interfaces:
Comparable<StreamName>
The name of a stream within a stripe.
Sorted by area, encryption, column, and then kind.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStreamName
(int column, OrcProto.Stream.Kind kind) StreamName
(int column, OrcProto.Stream.Kind kind, EncryptionVariant encryption) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull StreamName streamName) boolean
getArea()
static StreamName.Area
getArea
(OrcProto.Stream.Kind kind) int
Get the encryption information for this stream.getKind()
int
hashCode()
toString()
-
Constructor Details
-
StreamName
-
StreamName
-
-
Method Details
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<StreamName>
-
getColumn
public int getColumn() -
getKind
-
getArea
-
getArea
-
getEncryption
Get the encryption information for this stream.- Returns:
- the encryption information or null if it isn't encrypted
-
toString
-
hashCode
public int hashCode()
-