public abstract class Feature<T extends org.apache.hadoop.io.Writable> extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
protected String |
group |
protected String |
name |
protected long |
timestamp |
protected String |
type |
protected T |
vector |
protected String |
visibility |
| Modifier | Constructor and Description |
|---|---|
protected |
Feature(long timestamp,
String group,
String type,
String name,
String visibility,
T vector) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
buildVector(DataInput input) |
boolean |
equals(Object o) |
String |
getGroup() |
String |
getName() |
long |
getTimestamp() |
String |
getType() |
T |
getVector() |
String |
getVisibility() |
int |
hashCode() |
void |
readFields(DataInput dataInput) |
String |
toString() |
void |
write(DataOutput dataOutput) |
protected long timestamp
protected String group
protected String type
protected String name
protected String visibility
protected T extends org.apache.hadoop.io.Writable vector
public long getTimestamp()
public String getGroup()
public String getType()
public String getName()
public String getVisibility()
public T getVector()
public void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2014 Calrissian. All Rights Reserved.