public class ExtendedDataInputOutput extends DataInputOutput
ExtendedDataOutput
and ExtendedDataOutput
to be able
to write data and later read data from the same placeConstructor and Description |
---|
ExtendedDataInputOutput(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 ExtendedDataInputOutput(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.