public static class THBaseService.Client extends org.apache.thrift.TServiceClient implements THBaseService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
THBaseService.Client.Factory |
| Constructor and Description |
|---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public boolean exists(ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException
THBaseService.Ifaceexists in interface THBaseService.Ifacetable - the table to check ontget - the TGet to check forTIOErrororg.apache.thrift.TExceptionpublic void send_exists(ByteBuffer table, TGet tget) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_exists()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<Boolean> existsAll(ByteBuffer table, List<TGet> tgets) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceexistsAll in interface THBaseService.Ifacetable - the table to check ontgets - a list of TGets to check forTIOErrororg.apache.thrift.TExceptionpublic void send_existsAll(ByteBuffer table, List<TGet> tgets) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<Boolean> recv_existsAll() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic TResult get(ByteBuffer table, TGet tget) throws TIOError, org.apache.thrift.TException
THBaseService.Ifaceget in interface THBaseService.Ifacetable - the table to get fromtget - the TGet to fetchTIOErrororg.apache.thrift.TExceptionpublic void send_get(ByteBuffer table, TGet tget) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TResult recv_get() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TResult> getMultiple(ByteBuffer table, List<TGet> tgets) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetMultiple in interface THBaseService.Ifacetable - the table to get fromtgets - a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an errorTIOErrororg.apache.thrift.TExceptionpublic void send_getMultiple(ByteBuffer table, List<TGet> tgets) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TResult> recv_getMultiple() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void put(ByteBuffer table, TPut tput) throws TIOError, org.apache.thrift.TException
THBaseService.Ifaceput in interface THBaseService.Ifacetable - the table to put data intput - the TPut to putTIOErrororg.apache.thrift.TExceptionpublic void send_put(ByteBuffer table, TPut tput) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_put()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TPut tput) throws TIOError, org.apache.thrift.TException
THBaseService.IfacecheckAndPut in interface THBaseService.Ifacetable - to check in and put torow - row to checkfamily - column family to checkqualifier - column qualifier to checkvalue - the expected value, if not provided the
check is for the non-existence of the
column in questiontput - the TPut to put if the check succeedsTIOErrororg.apache.thrift.TExceptionpublic void send_checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TPut tput) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_checkAndPut()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void putMultiple(ByteBuffer table, List<TPut> tputs) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceputMultiple in interface THBaseService.Ifacetable - the table to put data intputs - a list of TPuts to commitTIOErrororg.apache.thrift.TExceptionpublic void send_putMultiple(ByteBuffer table, List<TPut> tputs) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_putMultiple()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void deleteSingle(ByteBuffer table, TDelete tdelete) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedeleteSingle in interface THBaseService.Ifacetable - the table to delete fromtdelete - the TDelete to deleteTIOErrororg.apache.thrift.TExceptionpublic void send_deleteSingle(ByteBuffer table, TDelete tdelete) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_deleteSingle()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TDelete> deleteMultiple(ByteBuffer table, List<TDelete> tdeletes) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedeleteMultiple in interface THBaseService.Ifacetable - the table to delete fromtdeletes - list of TDeletes to deleteTIOErrororg.apache.thrift.TExceptionpublic void send_deleteMultiple(ByteBuffer table, List<TDelete> tdeletes) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TDelete> recv_deleteMultiple() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean checkAndDelete(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TDelete tdelete) throws TIOError, org.apache.thrift.TException
THBaseService.IfacecheckAndDelete in interface THBaseService.Ifacetable - to check in and delete fromrow - row to checkfamily - column family to checkqualifier - column qualifier to checkvalue - the expected value, if not provided the
check is for the non-existence of the
column in questiontdelete - the TDelete to execute if the check succeedsTIOErrororg.apache.thrift.TExceptionpublic void send_checkAndDelete(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, ByteBuffer value, TDelete tdelete) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_checkAndDelete()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic TResult increment(ByteBuffer table, TIncrement tincrement) throws TIOError, org.apache.thrift.TException
increment in interface THBaseService.IfaceTIOErrororg.apache.thrift.TExceptionpublic void send_increment(ByteBuffer table, TIncrement tincrement) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TResult recv_increment() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic TResult append(ByteBuffer table, TAppend tappend) throws TIOError, org.apache.thrift.TException
append in interface THBaseService.IfaceTIOErrororg.apache.thrift.TExceptionpublic void send_append(ByteBuffer table, TAppend tappend) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TResult recv_append() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic int openScanner(ByteBuffer table, TScan tscan) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceopenScanner in interface THBaseService.Ifacetable - the table to get the Scanner fortscan - the scan object to get a Scanner forTIOErrororg.apache.thrift.TExceptionpublic void send_openScanner(ByteBuffer table, TScan tscan) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic int recv_openScanner()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TResult> getScannerRows(int scannerId, int numRows) throws TIOError, TIllegalArgument, org.apache.thrift.TException
THBaseService.IfacegetScannerRows in interface THBaseService.IfacescannerId - the Id of the Scanner to return rows from. This is an Id returned from the openScanner function.numRows - number of rows to returnTIOErrorTIllegalArgumentorg.apache.thrift.TExceptionpublic void send_getScannerRows(int scannerId,
int numRows)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TResult> recv_getScannerRows() throws TIOError, TIllegalArgument, org.apache.thrift.TException
TIOErrorTIllegalArgumentorg.apache.thrift.TExceptionpublic void closeScanner(int scannerId)
throws TIOError,
TIllegalArgument,
org.apache.thrift.TException
THBaseService.IfacecloseScanner in interface THBaseService.IfacescannerId - the Id of the Scanner to close *TIOErrorTIllegalArgumentorg.apache.thrift.TExceptionpublic void send_closeScanner(int scannerId)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_closeScanner()
throws TIOError,
TIllegalArgument,
org.apache.thrift.TException
TIOErrorTIllegalArgumentorg.apache.thrift.TExceptionpublic void mutateRow(ByteBuffer table, TRowMutations trowMutations) throws TIOError, org.apache.thrift.TException
THBaseService.IfacemutateRow in interface THBaseService.Ifacetable - table to apply the mutationstrowMutations - mutations to applyTIOErrororg.apache.thrift.TExceptionpublic void send_mutateRow(ByteBuffer table, TRowMutations trowMutations) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_mutateRow()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TResult> getScannerResults(ByteBuffer table, TScan tscan, int numRows) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetScannerResults in interface THBaseService.Ifacetable - the table to get the Scanner fortscan - the scan object to get a Scanner fornumRows - number of rows to returnTIOErrororg.apache.thrift.TExceptionpublic void send_getScannerResults(ByteBuffer table, TScan tscan, int numRows) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TResult> recv_getScannerResults() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic THRegionLocation getRegionLocation(ByteBuffer table, ByteBuffer row, boolean reload) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetRegionLocation in interface THBaseService.IfaceTIOErrororg.apache.thrift.TExceptionpublic void send_getRegionLocation(ByteBuffer table, ByteBuffer row, boolean reload) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic THRegionLocation recv_getRegionLocation() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<THRegionLocation> getAllRegionLocations(ByteBuffer table) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetAllRegionLocations in interface THBaseService.IfaceTIOErrororg.apache.thrift.TExceptionpublic void send_getAllRegionLocations(ByteBuffer table) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<THRegionLocation> recv_getAllRegionLocations() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, TCompareOp compareOp, ByteBuffer value, TRowMutations rowMutations) throws TIOError, org.apache.thrift.TException
THBaseService.IfacecheckAndMutate in interface THBaseService.Ifacetable - to check in and delete fromrow - row to checkfamily - column family to checkqualifier - column qualifier to checkcompareOp - comparison to make on the valuevalue - the expected value to be compared against, if not provided the
check is for the non-existence of the column in questionrowMutations - row mutations to execute if the value matchesTIOErrororg.apache.thrift.TExceptionpublic void send_checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer family, ByteBuffer qualifier, TCompareOp compareOp, ByteBuffer value, TRowMutations rowMutations) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_checkAndMutate()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic TTableDescriptor getTableDescriptor(TTableName table) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableDescriptor in interface THBaseService.Ifacetable - the tablename of the table to get tableDescriptorTIOErrororg.apache.thrift.TExceptionpublic void send_getTableDescriptor(TTableName table) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TTableDescriptor recv_getTableDescriptor() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TTableDescriptor> getTableDescriptors(List<TTableName> tables) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableDescriptors in interface THBaseService.Ifacetables - the tablename list of the tables to get tableDescriptorTIOErrororg.apache.thrift.TExceptionpublic void send_getTableDescriptors(List<TTableName> tables) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TTableDescriptor> recv_getTableDescriptors() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean tableExists(TTableName tableName) throws TIOError, org.apache.thrift.TException
tableExists in interface THBaseService.IfacetableName - the tablename of the tables to checkTIOErrororg.apache.thrift.TExceptionpublic void send_tableExists(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_tableExists()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TTableDescriptor> getTableDescriptorsByPattern(String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableDescriptorsByPattern in interface THBaseService.Ifaceregex - The regular expression to match againstincludeSysTables - set to false if match only against userspace tablesTIOErrororg.apache.thrift.TExceptionpublic void send_getTableDescriptorsByPattern(String regex, boolean includeSysTables) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TTableDescriptor> recv_getTableDescriptorsByPattern() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TTableDescriptor> getTableDescriptorsByNamespace(String name) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableDescriptorsByNamespace in interface THBaseService.Ifacename - The namesapce's nameTIOErrororg.apache.thrift.TExceptionpublic void send_getTableDescriptorsByNamespace(String name) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TTableDescriptor> recv_getTableDescriptorsByNamespace() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TTableName> getTableNamesByPattern(String regex, boolean includeSysTables) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableNamesByPattern in interface THBaseService.Ifaceregex - The regular expression to match againstincludeSysTables - set to false if match only against userspace tablesTIOErrororg.apache.thrift.TExceptionpublic void send_getTableNamesByPattern(String regex, boolean includeSysTables) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TTableName> recv_getTableNamesByPattern() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TTableName> getTableNamesByNamespace(String name) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetTableNamesByNamespace in interface THBaseService.Ifacename - The namesapce's nameTIOErrororg.apache.thrift.TExceptionpublic void send_getTableNamesByNamespace(String name) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TTableName> recv_getTableNamesByNamespace() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void createTable(TTableDescriptor desc, List<ByteBuffer> splitKeys) throws TIOError, org.apache.thrift.TException
THBaseService.IfacecreateTable in interface THBaseService.Ifacedesc - table descriptor for tablesplitKeys - rray of split keys for the initial regions of the tableTIOErrororg.apache.thrift.TExceptionpublic void send_createTable(TTableDescriptor desc, List<ByteBuffer> splitKeys) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_createTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void deleteTable(TTableName tableName) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedeleteTable in interface THBaseService.IfacetableName - the tablename to deleteTIOErrororg.apache.thrift.TExceptionpublic void send_deleteTable(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_deleteTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void truncateTable(TTableName tableName, boolean preserveSplits) throws TIOError, org.apache.thrift.TException
THBaseService.IfacetruncateTable in interface THBaseService.IfacetableName - the tablename to truncatepreserveSplits - whether to preserve previous splitsTIOErrororg.apache.thrift.TExceptionpublic void send_truncateTable(TTableName tableName, boolean preserveSplits) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_truncateTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void enableTable(TTableName tableName) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceenableTable in interface THBaseService.IfacetableName - the tablename to enableTIOErrororg.apache.thrift.TExceptionpublic void send_enableTable(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_enableTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void disableTable(TTableName tableName) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedisableTable in interface THBaseService.IfacetableName - the tablename to disableTIOErrororg.apache.thrift.TExceptionpublic void send_disableTable(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_disableTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean isTableEnabled(TTableName tableName) throws TIOError, org.apache.thrift.TException
isTableEnabled in interface THBaseService.IfacetableName - the tablename to checkTIOErrororg.apache.thrift.TExceptionpublic void send_isTableEnabled(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_isTableEnabled()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean isTableDisabled(TTableName tableName) throws TIOError, org.apache.thrift.TException
isTableDisabled in interface THBaseService.IfacetableName - the tablename to checkTIOErrororg.apache.thrift.TExceptionpublic void send_isTableDisabled(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_isTableDisabled()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean isTableAvailable(TTableName tableName) throws TIOError, org.apache.thrift.TException
isTableAvailable in interface THBaseService.IfacetableName - the tablename to checkTIOErrororg.apache.thrift.TExceptionpublic void send_isTableAvailable(TTableName tableName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_isTableAvailable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic boolean isTableAvailableWithSplit(TTableName tableName, List<ByteBuffer> splitKeys) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceTHBaseService.Iface.isTableAvailable(TTableName tableName) instead
*isTableAvailableWithSplit in interface THBaseService.IfacetableName - the tablename to checksplitKeys - keys to check if the table has been created with all split keysTIOErrororg.apache.thrift.TExceptionpublic void send_isTableAvailableWithSplit(TTableName tableName, List<ByteBuffer> splitKeys) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean recv_isTableAvailableWithSplit()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException
THBaseService.IfaceaddColumnFamily in interface THBaseService.IfacetableName - the tablename to add column family tocolumn - column family descriptor of column family to be addedTIOErrororg.apache.thrift.TExceptionpublic void send_addColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_addColumnFamily()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void deleteColumnFamily(TTableName tableName, ByteBuffer column) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedeleteColumnFamily in interface THBaseService.IfacetableName - the tablename to delete column family fromcolumn - name of column family to be deletedTIOErrororg.apache.thrift.TExceptionpublic void send_deleteColumnFamily(TTableName tableName, ByteBuffer column) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_deleteColumnFamily()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws TIOError, org.apache.thrift.TException
THBaseService.IfacemodifyColumnFamily in interface THBaseService.IfacetableName - the tablename to modify column familycolumn - column family descriptor of column family to be modifiedTIOErrororg.apache.thrift.TExceptionpublic void send_modifyColumnFamily(TTableName tableName, TColumnFamilyDescriptor column) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_modifyColumnFamily()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void modifyTable(TTableDescriptor desc) throws TIOError, org.apache.thrift.TException
THBaseService.IfacemodifyTable in interface THBaseService.Ifacedesc - the descriptor of the table to modifyTIOErrororg.apache.thrift.TExceptionpublic void send_modifyTable(TTableDescriptor desc) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_modifyTable()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void createNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException
THBaseService.IfacecreateNamespace in interface THBaseService.IfacenamespaceDesc - descriptor which describes the new namespaceTIOErrororg.apache.thrift.TExceptionpublic void send_createNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_createNamespace()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void modifyNamespace(TNamespaceDescriptor namespaceDesc) throws TIOError, org.apache.thrift.TException
THBaseService.IfacemodifyNamespace in interface THBaseService.IfacenamespaceDesc - descriptor which describes the new namespaceTIOErrororg.apache.thrift.TExceptionpublic void send_modifyNamespace(TNamespaceDescriptor namespaceDesc) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_modifyNamespace()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic void deleteNamespace(String name) throws TIOError, org.apache.thrift.TException
THBaseService.IfacedeleteNamespace in interface THBaseService.Ifacename - namespace nameTIOErrororg.apache.thrift.TExceptionpublic void send_deleteNamespace(String name) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_deleteNamespace()
throws TIOError,
org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic TNamespaceDescriptor getNamespaceDescriptor(String name) throws TIOError, org.apache.thrift.TException
THBaseService.IfacegetNamespaceDescriptor in interface THBaseService.Ifacename - name of namespace descriptorTIOErrororg.apache.thrift.TExceptionpublic void send_getNamespaceDescriptor(String name) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic TNamespaceDescriptor recv_getNamespaceDescriptor() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionpublic List<TNamespaceDescriptor> listNamespaceDescriptors() throws TIOError, org.apache.thrift.TException
listNamespaceDescriptors in interface THBaseService.IfaceTIOErrororg.apache.thrift.TExceptionpublic void send_listNamespaceDescriptors()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<TNamespaceDescriptor> recv_listNamespaceDescriptors() throws TIOError, org.apache.thrift.TException
TIOErrororg.apache.thrift.TExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.