public class OrcSplit extends org.apache.hadoop.mapred.FileSplit implements ColumnarSplit, LlapAwareSplit
Modifier | Constructor and Description |
---|---|
protected |
OrcSplit() |
|
OrcSplit(org.apache.hadoop.fs.Path path,
Object fileId,
long offset,
long length,
String[] hosts,
org.apache.orc.impl.OrcTail orcTail,
boolean isOriginal,
boolean hasBase,
List<AcidInputFormat.DeltaMetaData> deltas,
long projectedDataSize,
long fileLen) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUseLlapIo() |
long |
getColumnarProjectionSize()
Return the estimation size of the column projections that will be read from this split.
|
List<AcidInputFormat.DeltaMetaData> |
getDeltas() |
Object |
getFileKey() |
long |
getFileLength() |
org.apache.orc.impl.OrcTail |
getOrcTail() |
long |
getProjectedColumnsUncompressedSize() |
boolean |
hasBase() |
boolean |
hasFooter() |
boolean |
isAcid()
If this method returns true, then for sure it is ACID.
|
boolean |
isOriginal() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
protected OrcSplit()
public OrcSplit(org.apache.hadoop.fs.Path path, Object fileId, long offset, long length, String[] hosts, org.apache.orc.impl.OrcTail orcTail, boolean isOriginal, boolean hasBase, List<AcidInputFormat.DeltaMetaData> deltas, long projectedDataSize, long fileLen)
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.mapred.FileSplit
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.mapred.FileSplit
IOException
public org.apache.orc.impl.OrcTail getOrcTail()
public boolean hasFooter()
public boolean isOriginal()
public boolean hasBase()
public List<AcidInputFormat.DeltaMetaData> getDeltas()
public long getFileLength()
public boolean isAcid()
public long getProjectedColumnsUncompressedSize()
public Object getFileKey()
public long getColumnarProjectionSize()
ColumnarSplit
getColumnarProjectionSize
in interface ColumnarSplit
public boolean canUseLlapIo()
canUseLlapIo
in interface LlapAwareSplit
public String toString()
toString
in class org.apache.hadoop.mapred.FileSplit
Copyright © 2021 The Apache Software Foundation. All rights reserved.