@InterfaceAudience.Private public class RowResource extends ResourceBase
Modifier and Type | Field and Description |
---|---|
private String |
check |
(package private) static String |
CHECK_DELETE |
(package private) static String |
CHECK_PUT |
private static org.apache.commons.logging.Log |
LOG |
(package private) RowSpec |
rowspec |
(package private) TableResource |
tableResource |
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_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 |
---|---|
(package private) javax.ws.rs.core.Response |
checkAndDelete(CellSetModel model)
Validates the input request parameters, parses columns from CellSetModel,
and invokes checkAndDelete on HTable.
|
(package private) javax.ws.rs.core.Response |
checkAndPut(CellSetModel model)
Validates the input request parameters, parses columns from CellSetModel,
and invokes checkAndPut on HTable.
|
javax.ws.rs.core.Response |
delete(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
get(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getBinary(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
post(CellSetModel model,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
postBinary(byte[] message,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
javax.ws.rs.core.Response |
put(CellSetModel model,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
putBinary(byte[] message,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
(package private) javax.ws.rs.core.Response |
update(CellSetModel model,
boolean replace) |
(package private) javax.ws.rs.core.Response |
updateBinary(byte[] message,
javax.ws.rs.core.HttpHeaders headers,
boolean replace) |
processException
private static final org.apache.commons.logging.Log LOG
static final String CHECK_PUT
static final String CHECK_DELETE
TableResource tableResource
RowSpec rowspec
private String check
public RowResource(TableResource tableResource, String rowspec, String versions, String check) throws IOException
tableResource
- rowspec
- versions
- IOException
public javax.ws.rs.core.Response get(@Context javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response getBinary(@Context javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response update(CellSetModel model, boolean replace)
javax.ws.rs.core.Response updateBinary(byte[] message, javax.ws.rs.core.HttpHeaders headers, boolean replace)
public javax.ws.rs.core.Response put(CellSetModel model, @Context javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response putBinary(byte[] message, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response post(CellSetModel model, @Context javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response postBinary(byte[] message, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response delete(@Context javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response checkAndPut(CellSetModel model)
model
- instance of CellSetModeljavax.ws.rs.core.Response checkAndDelete(CellSetModel model)
model
- instance of CellSetModelCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.