public class BigDataInputOutput extends DataInputOutput
DataInputOutput
which uses BigDataInput
and BigDataOutput
to support larger than allowed array size streams.Constructor and Description |
---|
BigDataInputOutput(ImmutableClassesGiraphConfiguration conf)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ExtendedDataInput |
createDataInput()
Create DataInput which reads data from underlying DataOutput
|
DataOutput |
getDataOutput()
Get DataOutput to write to
|
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
create
public BigDataInputOutput(ImmutableClassesGiraphConfiguration conf)
conf
- Configurationpublic DataOutput getDataOutput()
DataInputOutput
getDataOutput
in class DataInputOutput
public ExtendedDataInput createDataInput()
DataInputOutput
createDataInput
in class DataInputOutput
public void write(DataOutput out) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.