@InterfaceAudience.Public @InterfaceStability.Evolving public class KuduTable extends Object
| Modifier and Type | Method and Description | 
|---|---|
| com.stumbleupon.async.Deferred<List<LocatedTablet>> | asyncGetTabletsLocations(byte[] startKey,
                        byte[] endKey,
                        long deadline)Asynchronously get all or some tablets for this table. | 
| com.stumbleupon.async.Deferred<List<LocatedTablet>> | asyncGetTabletsLocations(long deadline)Asynchronously get all the tablets for this table. | 
| AsyncKuduClient | getAsyncClient()Get the async client that created this instance. | 
| String | getName()Get this table's name. | 
| Schema | getSchema()Get this table's schema, as of the moment this instance was created. | 
| String | getTableId()Get this table's unique identifier. | 
| List<LocatedTablet> | getTabletsLocations(byte[] startKey,
                   byte[] endKey,
                   long deadline)Get all or some tablets for this table. | 
| List<LocatedTablet> | getTabletsLocations(long deadline)Get all the tablets for this table. | 
| Delete | newDelete()Get a new delete configured with this table's schema. | 
| Insert | newInsert()Get a new insert configured with this table's schema. | 
| Update | newUpdate()Get a new update configured with this table's schema. | 
| Upsert | newUpsert()Get a new upsert configured with this table's schema. | 
public Schema getSchema()
public String getName()
public String getTableId()
public AsyncKuduClient getAsyncClient()
public Insert newInsert()
public Update newUpdate()
public Delete newDelete()
public Upsert newUpsert()
public List<LocatedTablet> getTabletsLocations(long deadline) throws Exception
deadline - deadline in milliseconds for this method to finishExceptionpublic com.stumbleupon.async.Deferred<List<LocatedTablet>> asyncGetTabletsLocations(long deadline) throws Exception
deadline - max time spent in milliseconds for the deferred result of this method to
         get called back, if deadline is reached, the deferred result will get erred backDeferred object that yields a list containing the metadata and
 locations for each of the tablets in the tableExceptionpublic List<LocatedTablet> getTabletsLocations(byte[] startKey, byte[] endKey, long deadline) throws Exception
startKey - where to start in the table, pass null to start at the beginningendKey - where to stop in the table, pass null to get all the tablets until the end of
               the tabledeadline - deadline in milliseconds for this method to finishExceptionpublic com.stumbleupon.async.Deferred<List<LocatedTablet>> asyncGetTabletsLocations(byte[] startKey, byte[] endKey, long deadline) throws Exception
startKey - where to start in the table, pass null to start at the beginningendKey - where to stop in the table, pass null to get all the tablets until the end of
               the tabledeadline - max time spent in milliseconds for the deferred result of this method to
         get called back, if deadline is reached, the deferred result will get erred backDeferred object that yields a list containing the metadata and locations
           for each of the tablets in the tableExceptionCopyright © 2016. All rights reserved.