public abstract class DataInputOutput extends Object implements org.apache.hadoop.io.Writable, Factory<ExtendedDataInput>
Constructor and Description |
---|
DataInputOutput() |
Modifier and Type | Method and Description |
---|---|
ExtendedDataInput |
create()
Create new object
|
abstract ExtendedDataInput |
createDataInput()
Create DataInput which reads data from underlying DataOutput
|
abstract DataOutput |
getDataOutput()
Get DataOutput to write to
|
public abstract DataOutput getDataOutput()
public abstract ExtendedDataInput createDataInput()
public ExtendedDataInput create()
Factory
create
in interface Factory<ExtendedDataInput>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.