org.apache.accumulo.core.data
Class Column

java.lang.Object
  extended by org.apache.accumulo.core.data.Column
All Implemented Interfaces:
Comparable<Column>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<Column>

public class Column
extends Object
implements org.apache.hadoop.io.WritableComparable<Column>


Field Summary
 byte[] columnFamily
           
 byte[] columnQualifier
           
 byte[] columnVisibility
           
 
Constructor Summary
Column()
           
Column(byte[] columnFamily, byte[] columnQualifier, byte[] columnVisibility)
           
Column(TColumn tcol)
           
 
Method Summary
 int compareTo(Column that)
           
 boolean equals(Column that)
           
 boolean equals(Object that)
           
 byte[] getColumnFamily()
           
 byte[] getColumnQualifier()
           
 byte[] getColumnVisibility()
           
 int hashCode()
           
 void readFields(DataInput in)
           
 String toString()
           
 TColumn toThrift()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

columnFamily

public byte[] columnFamily

columnQualifier

public byte[] columnQualifier

columnVisibility

public byte[] columnVisibility
Constructor Detail

Column

public Column()

Column

public Column(byte[] columnFamily,
              byte[] columnQualifier,
              byte[] columnVisibility)

Column

public Column(TColumn tcol)
Method Detail

compareTo

public int compareTo(Column that)
Specified by:
compareTo in interface Comparable<Column>

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Column that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getColumnFamily

public byte[] getColumnFamily()

getColumnQualifier

public byte[] getColumnQualifier()

getColumnVisibility

public byte[] getColumnVisibility()

toString

public String toString()
Overrides:
toString in class Object

toThrift

public TColumn toThrift()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.