public class RuleWritable extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Class and Description |
---|---|
static class |
RuleWritable.Rule |
Constructor and Description |
---|
RuleWritable() |
RuleWritable(RuleWritable.Rule rule,
Object object) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getObject() |
RuleWritable.Rule |
getRule() |
void |
readFields(DataInput input) |
String |
toString() |
void |
write(DataOutput output) |
public RuleWritable()
public RuleWritable(RuleWritable.Rule rule, Object object)
public <T> T getObject()
public RuleWritable.Rule getRule()
public void readFields(DataInput input) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput output) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.