@InterfaceAudience.Private @Deprecated public class ParquetInputSplit extends org.apache.hadoop.mapreduce.lib.input.FileSplit implements org.apache.hadoop.io.Writable
This class is private to the ParquetInputFormat. Backward compatibility is not maintained.
| Constructor and Description |
|---|
ParquetInputSplit()
Deprecated.
Writables must have a parameterless constructor
|
ParquetInputSplit(org.apache.hadoop.fs.Path file,
long start,
long end,
long length,
String[] hosts,
long[] rowGroupOffsets)
Deprecated.
|
ParquetInputSplit(org.apache.hadoop.fs.Path path,
long start,
long length,
String[] hosts,
List<BlockMetaData> blocks,
String requestedSchema,
String fileSchema,
Map<String,String> extraMetadata,
Map<String,String> readSupportMetadata)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<BlockMetaData> |
getBlocks()
Deprecated.
the file footer is no longer read before creating input splits
|
long |
getEnd()
Deprecated.
|
Map<String,String> |
getExtraMetadata()
Deprecated.
will be removed in 2.0.0. the file footer is no longer read before creating input splits
|
String |
getFileSchema()
Deprecated.
the file footer is no longer read before creating input splits
|
long[] |
getRowGroupOffsets()
Deprecated.
will be removed in 2.0.0.
|
void |
readFields(DataInput hin)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
write(DataOutput hout)
Deprecated.
|
public ParquetInputSplit()
@Deprecated public ParquetInputSplit(org.apache.hadoop.fs.Path path, long start, long length, String[] hosts, List<BlockMetaData> blocks, String requestedSchema, String fileSchema, Map<String,String> extraMetadata, Map<String,String> readSupportMetadata)
ParquetInputSplit(Path, long, long, long, String[], long[])path - a Pathstart - split start locationlength - split lengthhosts - locality information for this splitblocks - Parquet blocks in this splitrequestedSchema - the requested schemafileSchema - the file schemaextraMetadata - string map of file metadatareadSupportMetadata - string map of metadata from read supportpublic ParquetInputSplit(org.apache.hadoop.fs.Path file,
long start,
long end,
long length,
String[] hosts,
long[] rowGroupOffsets)
file - the path of the file for that splitstart - the start offset in the fileend - the end offset in the filelength - the actual size in bytes that we expect to readhosts - the hosts with the replicas of this datarowGroupOffsets - the offsets of the rowgroups selected if loaded on the client@Deprecated public List<BlockMetaData> getBlocks()
@Deprecated public String getFileSchema()
public long getEnd()
@Deprecated public Map<String,String> getExtraMetadata()
public long[] getRowGroupOffsets()
public String toString()
toString in class org.apache.hadoop.mapreduce.lib.input.FileSplitpublic void readFields(DataInput hin) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class org.apache.hadoop.mapreduce.lib.input.FileSplitIOExceptionpublic void write(DataOutput hout) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class org.apache.hadoop.mapreduce.lib.input.FileSplitIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.