org.apache.hadoop.hbase.avro.generated
Interface HBase
- All Known Implementing Classes:
- AvroServer.HBaseImpl
public interface HBase
Field Summary |
static org.apache.avro.Protocol |
PROTOCOL
|
Method Summary |
Void |
addFamily(ByteBuffer table,
AFamilyDescriptor family)
|
Void |
createTable(ATableDescriptor table)
|
Void |
delete(ByteBuffer table,
ADelete delete)
|
Void |
deleteFamily(ByteBuffer table,
ByteBuffer family)
|
Void |
deleteTable(ByteBuffer table)
|
AFamilyDescriptor |
describeFamily(ByteBuffer table,
ByteBuffer family)
|
ATableDescriptor |
describeTable(ByteBuffer table)
|
Void |
disableTable(ByteBuffer table)
|
Void |
enableTable(ByteBuffer table)
|
boolean |
exists(ByteBuffer table,
AGet get)
|
Void |
flush(ByteBuffer table)
|
AResult |
get(ByteBuffer table,
AGet get)
|
AClusterStatus |
getClusterStatus()
|
org.apache.avro.util.Utf8 |
getHBaseVersion()
|
long |
incrementColumnValue(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
long amount,
boolean writeToWAL)
|
boolean |
isTableEnabled(ByteBuffer table)
|
org.apache.avro.generic.GenericArray<ATableDescriptor> |
listTables()
|
Void |
modifyFamily(ByteBuffer table,
ByteBuffer familyName,
AFamilyDescriptor familyDescriptor)
|
Void |
modifyTable(ByteBuffer table,
ATableDescriptor tableDescriptor)
|
Void |
put(ByteBuffer table,
APut put)
|
Void |
scannerClose(int scannerId)
|
org.apache.avro.generic.GenericArray<AResult> |
scannerGetRows(int scannerId,
int numberOfRows)
|
int |
scannerOpen(ByteBuffer table,
AScan scan)
|
Void |
split(ByteBuffer table)
|
boolean |
tableExists(ByteBuffer table)
|
PROTOCOL
static final org.apache.avro.Protocol PROTOCOL
getHBaseVersion
org.apache.avro.util.Utf8 getHBaseVersion()
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
getClusterStatus
AClusterStatus getClusterStatus()
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
listTables
org.apache.avro.generic.GenericArray<ATableDescriptor> listTables()
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
describeTable
ATableDescriptor describeTable(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
isTableEnabled
boolean isTableEnabled(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
tableExists
boolean tableExists(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
describeFamily
AFamilyDescriptor describeFamily(ByteBuffer table,
ByteBuffer family)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
createTable
Void createTable(ATableDescriptor table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError,
AIllegalArgument,
ATableExists,
AMasterNotRunning
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
AIllegalArgument
ATableExists
AMasterNotRunning
deleteTable
Void deleteTable(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
modifyTable
Void modifyTable(ByteBuffer table,
ATableDescriptor tableDescriptor)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
enableTable
Void enableTable(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
disableTable
Void disableTable(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
flush
Void flush(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
split
Void split(ByteBuffer table)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
addFamily
Void addFamily(ByteBuffer table,
AFamilyDescriptor family)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
deleteFamily
Void deleteFamily(ByteBuffer table,
ByteBuffer family)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
modifyFamily
Void modifyFamily(ByteBuffer table,
ByteBuffer familyName,
AFamilyDescriptor familyDescriptor)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
get
AResult get(ByteBuffer table,
AGet get)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
exists
boolean exists(ByteBuffer table,
AGet get)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
put
Void put(ByteBuffer table,
APut put)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
delete
Void delete(ByteBuffer table,
ADelete delete)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
incrementColumnValue
long incrementColumnValue(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
long amount,
boolean writeToWAL)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
scannerOpen
int scannerOpen(ByteBuffer table,
AScan scan)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
scannerClose
Void scannerClose(int scannerId)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError,
AIllegalArgument
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
AIllegalArgument
scannerGetRows
org.apache.avro.generic.GenericArray<AResult> scannerGetRows(int scannerId,
int numberOfRows)
throws org.apache.avro.ipc.AvroRemoteException,
AIOError,
AIllegalArgument
- Throws:
org.apache.avro.ipc.AvroRemoteException
AIOError
AIllegalArgument
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.