@InterfaceAudience.Private public class RowResource extends ResourceBase
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_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 |
---|
RowResource(TableResource tableResource,
String rowspec,
String versions,
String check)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Response |
delete(UriInfo uriInfo) |
Response |
get(UriInfo uriInfo) |
Response |
getBinary(UriInfo uriInfo) |
Response |
post(CellSetModel model,
UriInfo uriInfo) |
Response |
postBinary(byte[] message,
UriInfo uriInfo,
HttpHeaders headers) |
Response |
put(CellSetModel model,
UriInfo uriInfo) |
Response |
putBinary(byte[] message,
UriInfo uriInfo,
HttpHeaders headers) |
processException
public RowResource(TableResource tableResource, String rowspec, String versions, String check) throws IOException
tableResource
- rowspec
- versions
- IOException
public Response get(UriInfo uriInfo)
public Response getBinary(UriInfo uriInfo)
public Response put(CellSetModel model, UriInfo uriInfo)
public Response putBinary(byte[] message, UriInfo uriInfo, HttpHeaders headers)
public Response post(CellSetModel model, UriInfo uriInfo)
public Response postBinary(byte[] message, UriInfo uriInfo, HttpHeaders headers)
public Response delete(UriInfo uriInfo)