Interface ClientService.AsyncIface

    • Method Detail

      • getRootTabletLocation

        void getRootTabletLocation​(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getInstanceId

        void getInstanceId​(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getZooKeepers

        void getZooKeepers​(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • bulkImportFiles

        void bulkImportFiles​(TInfo tinfo,
                             TCredentials credentials,
                             long tid,
                             String tableId,
                             List<String> files,
                             String errorDir,
                             boolean setTime,
                             org.apache.thrift.async.AsyncMethodCallback<List<String>> resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • isActive

        void isActive​(TInfo tinfo,
                      long tid,
                      org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • ping

        void ping​(TCredentials credentials,
                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getDiskUsage

        void getDiskUsage​(Set<String> tables,
                          TCredentials credentials,
                          org.apache.thrift.async.AsyncMethodCallback<List<TDiskUsage>> resultHandler)
                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • listLocalUsers

        void listLocalUsers​(TInfo tinfo,
                            TCredentials credentials,
                            org.apache.thrift.async.AsyncMethodCallback<Set<String>> resultHandler)
                     throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • createLocalUser

        void createLocalUser​(TInfo tinfo,
                             TCredentials credentials,
                             String principal,
                             ByteBuffer password,
                             org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • dropLocalUser

        void dropLocalUser​(TInfo tinfo,
                           TCredentials credentials,
                           String principal,
                           org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                    throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • changeLocalUserPassword

        void changeLocalUserPassword​(TInfo tinfo,
                                     TCredentials credentials,
                                     String principal,
                                     ByteBuffer password,
                                     org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                              throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • authenticate

        void authenticate​(TInfo tinfo,
                          TCredentials credentials,
                          org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • authenticateUser

        void authenticateUser​(TInfo tinfo,
                              TCredentials credentials,
                              TCredentials toAuth,
                              org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • changeAuthorizations

        void changeAuthorizations​(TInfo tinfo,
                                  TCredentials credentials,
                                  String principal,
                                  List<ByteBuffer> authorizations,
                                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getUserAuthorizations

        void getUserAuthorizations​(TInfo tinfo,
                                   TCredentials credentials,
                                   String principal,
                                   org.apache.thrift.async.AsyncMethodCallback<List<ByteBuffer>> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • hasSystemPermission

        void hasSystemPermission​(TInfo tinfo,
                                 TCredentials credentials,
                                 String principal,
                                 byte sysPerm,
                                 org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • hasTablePermission

        void hasTablePermission​(TInfo tinfo,
                                TCredentials credentials,
                                String principal,
                                String tableName,
                                byte tblPerm,
                                org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • hasNamespacePermission

        void hasNamespacePermission​(TInfo tinfo,
                                    TCredentials credentials,
                                    String principal,
                                    String ns,
                                    byte tblNspcPerm,
                                    org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • grantSystemPermission

        void grantSystemPermission​(TInfo tinfo,
                                   TCredentials credentials,
                                   String principal,
                                   byte permission,
                                   org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • revokeSystemPermission

        void revokeSystemPermission​(TInfo tinfo,
                                    TCredentials credentials,
                                    String principal,
                                    byte permission,
                                    org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • grantTablePermission

        void grantTablePermission​(TInfo tinfo,
                                  TCredentials credentials,
                                  String principal,
                                  String tableName,
                                  byte permission,
                                  org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                           throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • revokeTablePermission

        void revokeTablePermission​(TInfo tinfo,
                                   TCredentials credentials,
                                   String principal,
                                   String tableName,
                                   byte permission,
                                   org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • grantNamespacePermission

        void grantNamespacePermission​(TInfo tinfo,
                                      TCredentials credentials,
                                      String principal,
                                      String ns,
                                      byte permission,
                                      org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                               throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • revokeNamespacePermission

        void revokeNamespacePermission​(TInfo tinfo,
                                       TCredentials credentials,
                                       String principal,
                                       String ns,
                                       byte permission,
                                       org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getConfiguration

        void getConfiguration​(TInfo tinfo,
                              TCredentials credentials,
                              ConfigurationType type,
                              org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                       throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getSystemProperties

        void getSystemProperties​(TInfo tinfo,
                                 TCredentials credentials,
                                 org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getVersionedSystemProperties

        void getVersionedSystemProperties​(TInfo tinfo,
                                          TCredentials credentials,
                                          org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
                                   throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getTableConfiguration

        void getTableConfiguration​(TInfo tinfo,
                                   TCredentials credentials,
                                   String tableName,
                                   org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                            throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getTableProperties

        void getTableProperties​(TInfo tinfo,
                                TCredentials credentials,
                                String tableName,
                                org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getVersionedTableProperties

        void getVersionedTableProperties​(TInfo tinfo,
                                         TCredentials credentials,
                                         String tableName,
                                         org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
                                  throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getNamespaceConfiguration

        void getNamespaceConfiguration​(TInfo tinfo,
                                       TCredentials credentials,
                                       String ns,
                                       org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                                throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getNamespaceProperties

        void getNamespaceProperties​(TInfo tinfo,
                                    TCredentials credentials,
                                    String ns,
                                    org.apache.thrift.async.AsyncMethodCallback<Map<String,​String>> resultHandler)
                             throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • getVersionedNamespaceProperties

        void getVersionedNamespaceProperties​(TInfo tinfo,
                                             TCredentials credentials,
                                             String ns,
                                             org.apache.thrift.async.AsyncMethodCallback<TVersionedProperties> resultHandler)
                                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • checkClass

        void checkClass​(TInfo tinfo,
                        TCredentials credentials,
                        String className,
                        String interfaceMatch,
                        org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                 throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • checkTableClass

        void checkTableClass​(TInfo tinfo,
                             TCredentials credentials,
                             String tableId,
                             String className,
                             String interfaceMatch,
                             org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • checkNamespaceClass

        void checkNamespaceClass​(TInfo tinfo,
                                 TCredentials credentials,
                                 String namespaceId,
                                 String className,
                                 String interfaceMatch,
                                 org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler)
                          throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException