public class QuadWritable extends AbstractNodeTupleWritable<Quad>
Constructor and Description |
---|
QuadWritable()
Creates a new empty instance
|
QuadWritable(Quad q)
Creates a new instance with the given value
|
Modifier and Type | Method and Description |
---|---|
static QuadWritable |
read(DataInput input)
Creates a new instance from the given input
|
void |
readFields(DataInput input) |
void |
set(Quad tuple)
Sets the tuple
|
void |
write(DataOutput output) |
public QuadWritable()
public QuadWritable(Quad q)
q
- Quadpublic static QuadWritable read(DataInput input) throws IOException
input
- InputIOException
public void set(Quad tuple)
AbstractNodeTupleWritable
set
in class AbstractNodeTupleWritable<Quad>
tuple
- Tuplepublic void readFields(DataInput input) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class AbstractNodeTupleWritable<Quad>
IOException
public void write(DataOutput output) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class AbstractNodeTupleWritable<Quad>
IOException
Licenced under the Apache License, Version 2.0