org.apache.hadoop.hbase.rest
Class TimestampModel

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.AbstractModel
      extended by org.apache.hadoop.hbase.rest.TimestampModel

public class TimestampModel
extends AbstractModel


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.rest.AbstractModel
AbstractModel.Encodings
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.rest.AbstractModel
admin, COLON, conf, encoding
 
Constructor Summary
TimestampModel(HBaseConfiguration conf, HBaseAdmin admin)
           
 
Method Summary
 void delete(byte[] tableName, byte[] rowName, byte[][] columns, long timestamp)
          Deprecated. 
 void delete(byte[] tableName, byte[] rowName, long timestamp)
          Deprecated. 
 void delete(byte[] tableName, Delete delete)
           
 RowResult get(byte[] tableName, byte[] rowName, byte[][] columns, long timestamp)
          Deprecated. 
 Cell get(byte[] tableName, byte[] rowName, byte[] columnName, long timestamp)
          Deprecated. 
 Cell[] get(byte[] tableName, byte[] rowName, byte[] columnName, long timestamp, int numVersions)
          Deprecated. 
 RowResult get(byte[] tableName, byte[] rowName, long timestamp)
           
 Result get(byte[] tableName, Get get)
           
 void post(byte[] tableName, byte[] rowName, byte[] columnName, long timestamp, byte[] value)
           
 
Methods inherited from class org.apache.hadoop.hbase.rest.AbstractModel
getColumns, initialize, isColumnFamily
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampModel

public TimestampModel(HBaseConfiguration conf,
                      HBaseAdmin admin)
Method Detail

delete

public void delete(byte[] tableName,
                   Delete delete)
            throws HBaseRestException
Throws:
HBaseRestException

delete

@Deprecated
public void delete(byte[] tableName,
                              byte[] rowName,
                              long timestamp)
            throws HBaseRestException
Deprecated. 

Throws:
HBaseRestException

delete

@Deprecated
public void delete(byte[] tableName,
                              byte[] rowName,
                              byte[][] columns,
                              long timestamp)
            throws HBaseRestException
Deprecated. 

Throws:
HBaseRestException

get

public Result get(byte[] tableName,
                  Get get)
           throws HBaseRestException
Throws:
HBaseRestException

get

@Deprecated
public Cell get(byte[] tableName,
                           byte[] rowName,
                           byte[] columnName,
                           long timestamp)
         throws HBaseRestException
Deprecated. 

Throws:
HBaseRestException

get

@Deprecated
public Cell[] get(byte[] tableName,
                             byte[] rowName,
                             byte[] columnName,
                             long timestamp,
                             int numVersions)
           throws IOException,
                  HBaseRestException
Deprecated. 

Throws:
IOException
HBaseRestException

get

@Deprecated
public RowResult get(byte[] tableName,
                                byte[] rowName,
                                byte[][] columns,
                                long timestamp)
              throws HBaseRestException
Deprecated. 

Throws:
HBaseRestException

get

public RowResult get(byte[] tableName,
                     byte[] rowName,
                     long timestamp)
              throws HBaseRestException
Parameters:
tableName -
rowName -
timestamp -
Returns:
RowResult
Throws:
HBaseRestException

post

public void post(byte[] tableName,
                 byte[] rowName,
                 byte[] columnName,
                 long timestamp,
                 byte[] value)
          throws HBaseRestException
Throws:
HBaseRestException


Copyright © 2010 The Apache Software Foundation