public static class ThriftHoodieMetaserver.Client extends org.apache.thrift.TServiceClient implements ThriftHoodieMetaserver.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftHoodieMetaserver.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 void createDatabase(String db) throws MetaserverStorageException, NoSuchObjectException, AlreadyExistException, org.apache.thrift.TException
createDatabase in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionAlreadyExistExceptionorg.apache.thrift.TExceptionpublic void send_createDatabase(String db) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_createDatabase()
throws MetaserverStorageException,
NoSuchObjectException,
AlreadyExistException,
org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionAlreadyExistExceptionorg.apache.thrift.TExceptionpublic void createTable(Table table) throws MetaserverStorageException, NoSuchObjectException, AlreadyExistException, MetaserverException, org.apache.thrift.TException
createTable in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionAlreadyExistExceptionMetaserverExceptionorg.apache.thrift.TExceptionpublic void send_createTable(Table table) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_createTable()
throws MetaserverStorageException,
NoSuchObjectException,
AlreadyExistException,
MetaserverException,
org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionAlreadyExistExceptionMetaserverExceptionorg.apache.thrift.TExceptionpublic Table getTable(String db, String tb) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
getTable in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_getTable(String db, String tb) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic Table recv_getTable() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic List<THoodieInstant> listInstants(String db, String tb, int num) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
listInstants in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_listInstants(String db, String tb, int num) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<THoodieInstant> recv_listInstants() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic ByteBuffer getInstantMetadata(String db, String tb, THoodieInstant instant) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
getInstantMetadata in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_getInstantMetadata(String db, String tb, THoodieInstant instant) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic ByteBuffer recv_getInstantMetadata() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic String createNewInstantTime(String db, String tb) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
createNewInstantTime in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_createNewInstantTime(String db, String tb) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String recv_createNewInstantTime() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic HoodieInstantChangeResult createNewInstantWithTime(String db, String tb, THoodieInstant instant, ByteBuffer content) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
createNewInstantWithTime in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_createNewInstantWithTime(String db, String tb, THoodieInstant instant, ByteBuffer content) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic HoodieInstantChangeResult recv_createNewInstantWithTime() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic HoodieInstantChangeResult transitionInstantState(String db, String tb, THoodieInstant fromInstant, THoodieInstant toInstant, ByteBuffer metadata) throws MetaserverStorageException, NoSuchObjectException, MetaserverException, org.apache.thrift.TException
transitionInstantState in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionMetaserverExceptionorg.apache.thrift.TExceptionpublic void send_transitionInstantState(String db, String tb, THoodieInstant fromInstant, THoodieInstant toInstant, ByteBuffer metadata) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic HoodieInstantChangeResult recv_transitionInstantState() throws MetaserverStorageException, NoSuchObjectException, MetaserverException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionMetaserverExceptionorg.apache.thrift.TExceptionpublic HoodieInstantChangeResult deleteInstant(String db, String tb, THoodieInstant instant) throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
deleteInstant in interface ThriftHoodieMetaserver.IfaceMetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionpublic void send_deleteInstant(String db, String tb, THoodieInstant instant) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic HoodieInstantChangeResult recv_deleteInstant() throws MetaserverStorageException, NoSuchObjectException, org.apache.thrift.TException
MetaserverStorageExceptionNoSuchObjectExceptionorg.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.