@InterfaceAudience.Private public class TableResource extends ResourceBase
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
LOG |
(package private) String |
table |
accessDeniedClazz, servletCRLF, 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_DNS_INTERFACE, REST_DNS_NAMESERVER, REST_KERBEROS_PRINCIPAL, REST_KEYTAB_FILE, REST_SSL_ENABLED, REST_SSL_KEYSTORE_KEYPASSWORD, REST_SSL_KEYSTORE_PASSWORD, REST_SSL_KEYSTORE_STORE, ROW_KEYS_PARAM_NAME, SCAN_BATCH_SIZE, SCAN_COLUMN, SCAN_END_ROW, SCAN_END_TIME, SCAN_FETCH_SIZE, SCAN_FILTER, SCAN_LIMIT, SCAN_MAX_VERSIONS, 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) |
(package private) String |
getName() |
RegionsResource |
getRegionsResource() |
RowResource |
getRowResource(String rowspec,
String versions,
String check) |
RowResource |
getRowResourceWithSuffixGlobbing(String suffixglobbingspec,
String versions,
String check) |
ScannerResource |
getScannerResource() |
TableScanResource |
getScanResource(javax.ws.rs.core.UriInfo uriInfo,
String scanSpec,
String contentType,
int userRequestedLimit,
String startRow,
String endRow,
List<String> column,
int maxVersions,
int batchSize,
long startTime,
long endTime,
boolean cacheBlocks,
String filters) |
SchemaResource |
getSchemaResource() |
processExceptionString table
private static final org.apache.commons.logging.Log LOG
public TableResource(String table) throws IOException
table - IOExceptionString getName()
boolean exists()
throws IOException
IOExceptionpublic ExistsResource getExistsResource() throws IOException
IOExceptionpublic RegionsResource getRegionsResource() throws IOException
IOExceptionpublic ScannerResource getScannerResource() throws IOException
IOExceptionpublic SchemaResource getSchemaResource() throws IOException
IOExceptionpublic MultiRowResource getMultipleRowResource(String versions) throws IOException
IOExceptionpublic RowResource getRowResource(@Encoded String rowspec, String versions, String check) throws IOException
IOExceptionpublic RowResource getRowResourceWithSuffixGlobbing(@Encoded String suffixglobbingspec, String versions, String check) throws IOException
IOExceptionpublic TableScanResource getScanResource(@Context javax.ws.rs.core.UriInfo uriInfo, String scanSpec, @HeaderParam(value="Accept") String contentType, int userRequestedLimit, String startRow, String endRow, List<String> column, int maxVersions, int batchSize, long startTime, long endTime, boolean cacheBlocks, String filters)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.