org.apache.hadoop.hbase.thrift.generated
Class ColumnDescriptor

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift.generated.ColumnDescriptor
All Implemented Interfaces:
com.facebook.thrift.TBase, Serializable

public class ColumnDescriptor
extends Object
implements com.facebook.thrift.TBase, Serializable

An HColumnDescriptor contains information about a column family such as the number of versions, compression settings, etc. It is used as input when creating a table or adding a column.

See Also:
Serialized Form

Nested Class Summary
static class ColumnDescriptor.Isset
           
 
Field Summary
 ColumnDescriptor.Isset __isset
           
 boolean blockCacheEnabled
           
 int bloomFilterNbHashes
           
 String bloomFilterType
           
 int bloomFilterVectorSize
           
 String compression
           
 boolean inMemory
           
 int maxValueLength
           
 int maxVersions
           
 byte[] name
           
 int timeToLive
           
 
Constructor Summary
ColumnDescriptor()
           
ColumnDescriptor(byte[] name, int maxVersions, String compression, boolean inMemory, int maxValueLength, String bloomFilterType, int bloomFilterVectorSize, int bloomFilterNbHashes, boolean blockCacheEnabled, int timeToLive)
           
 
Method Summary
 boolean equals(ColumnDescriptor that)
           
 boolean equals(Object that)
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 String toString()
           
 void write(com.facebook.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public byte[] name

maxVersions

public int maxVersions

compression

public String compression

inMemory

public boolean inMemory

maxValueLength

public int maxValueLength

bloomFilterType

public String bloomFilterType

bloomFilterVectorSize

public int bloomFilterVectorSize

bloomFilterNbHashes

public int bloomFilterNbHashes

blockCacheEnabled

public boolean blockCacheEnabled

timeToLive

public int timeToLive

__isset

public final ColumnDescriptor.Isset __isset
Constructor Detail

ColumnDescriptor

public ColumnDescriptor()

ColumnDescriptor

public ColumnDescriptor(byte[] name,
                        int maxVersions,
                        String compression,
                        boolean inMemory,
                        int maxValueLength,
                        String bloomFilterType,
                        int bloomFilterVectorSize,
                        int bloomFilterNbHashes,
                        boolean blockCacheEnabled,
                        int timeToLive)
Method Detail

equals

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

equals

public boolean equals(ColumnDescriptor that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(com.facebook.thrift.protocol.TProtocol iprot)
          throws com.facebook.thrift.TException
Specified by:
read in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

write

public void write(com.facebook.thrift.protocol.TProtocol oprot)
           throws com.facebook.thrift.TException
Specified by:
write in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 The Apache Software Foundation