@InterfaceAudience.Private public class TableResource extends ResourceBase
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
(package private) String |
table |
accessDeniedClazz, servlet
CRLF, CUSTOM_FILTERS, DEFAULT_LISTEN_PORT, DEFAULT_MAX_AGE, FILTER_CLASSES, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_PROTOBUF_IETF, MIMETYPE_TEXT, MIMETYPE_XML, NOCACHE_PARAM_NAME, REST_AUTHENTICATION_PRINCIPAL, REST_AUTHENTICATION_TYPE, REST_CONNECTOR_ACCEPT_QUEUE_SIZE, REST_DNS_INTERFACE, REST_DNS_NAMESERVER, REST_KERBEROS_PRINCIPAL, REST_KEYTAB_FILE, REST_SSL_ENABLED, REST_SSL_EXCLUDE_CIPHER_SUITES, REST_SSL_EXCLUDE_PROTOCOLS, REST_SSL_INCLUDE_CIPHER_SUITES, REST_SSL_INCLUDE_PROTOCOLS, REST_SSL_KEYSTORE_KEYPASSWORD, REST_SSL_KEYSTORE_PASSWORD, REST_SSL_KEYSTORE_STORE, REST_THREAD_POOL_TASK_QUEUE_SIZE, REST_THREAD_POOL_THREAD_IDLE_TIMEOUT, REST_THREAD_POOL_THREADS_MAX, REST_THREAD_POOL_THREADS_MIN, ROW_KEYS_PARAM_NAME, SCAN_BATCH_SIZE, SCAN_CACHE_BLOCKS, SCAN_COLUMN, SCAN_END_ROW, SCAN_END_TIME, SCAN_FETCH_SIZE, SCAN_FILTER, SCAN_LIMIT, SCAN_MAX_VERSIONS, SCAN_REVERSED, SCAN_START_ROW, SCAN_START_TIME, VERSION_STRING
Constructor and Description |
---|
TableResource(String table)
Constructor
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
exists() |
ExistsResource |
getExistsResource() |
MultiRowResource |
getMultipleRowResource(String versions,
String path) |
(package private) String |
getName() |
RegionsResource |
getRegionsResource() |
RowResource |
getRowResource(String rowspec,
String versions,
String check,
String returnResult) |
RowResource |
getRowResourceWithSuffixGlobbing(String suffixglobbingspec,
String versions,
String check,
String returnResult) |
ScannerResource |
getScannerResource() |
TableScanResource |
getScanResource(String scanSpec,
int userRequestedLimit,
String startRow,
String endRow,
List<String> column,
int maxVersions,
int batchSize,
long startTime,
long endTime,
boolean cacheBlocks,
boolean reversed,
String paramFilter) |
SchemaResource |
getSchemaResource() |
processException
public TableResource(String table) throws IOException
table
- IOException
boolean exists() throws IOException
IOException
@Path(value="exists") public ExistsResource getExistsResource() throws IOException
IOException
@Path(value="regions") public RegionsResource getRegionsResource() throws IOException
IOException
@Path(value="scanner") public ScannerResource getScannerResource() throws IOException
IOException
@Path(value="schema") public SchemaResource getSchemaResource() throws IOException
IOException
@Path(value="{multiget: multiget.*}") public MultiRowResource getMultipleRowResource(@QueryParam(value="v") String versions, @PathParam(value="multiget") String path) throws IOException
IOException
@Path(value="{rowspec: [^*]+}") public RowResource getRowResource(@PathParam(value="rowspec") @Encoded String rowspec, @QueryParam(value="v") String versions, @QueryParam(value="check") String check, @QueryParam(value="rr") String returnResult) throws IOException
IOException
@Path(value="{suffixglobbingspec: .*\\*/.+}") public RowResource getRowResourceWithSuffixGlobbing(@PathParam(value="suffixglobbingspec") @Encoded String suffixglobbingspec, @QueryParam(value="v") String versions, @QueryParam(value="check") String check, @QueryParam(value="rr") String returnResult) throws IOException
IOException
@Path(value="{scanspec: .*[*]$}") public TableScanResource getScanResource(@PathParam(value="scanspec") String scanSpec, @DefaultValue(value="2147483647") @QueryParam(value="limit") int userRequestedLimit, @DefaultValue(value="") @QueryParam(value="startrow") String startRow, @DefaultValue(value="") @QueryParam(value="endrow") String endRow, @QueryParam(value="column") List<String> column, @DefaultValue(value="1") @QueryParam(value="maxversions") int maxVersions, @DefaultValue(value="-1") @QueryParam(value="batchsize") int batchSize, @DefaultValue(value="0") @QueryParam(value="starttime") long startTime, @DefaultValue(value="9223372036854775807") @QueryParam(value="endtime") long endTime, @DefaultValue(value="true") @QueryParam(value="cacheblocks") boolean cacheBlocks, @DefaultValue(value="false") @QueryParam(value="reversed") boolean reversed, @DefaultValue(value="") @QueryParam(value="filter") String paramFilter)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.