@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class Query extends OperationWithAttributes
| Modifier and Type | Field and Description |
|---|---|
protected Filter |
filter |
ID_ATRIBUTE| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getACL() |
boolean |
getACLStrategy() |
Authorizations |
getAuthorizations() |
Filter |
getFilter() |
void |
setACL(Map<String,Permission> perms) |
void |
setACL(String user,
Permission perms) |
void |
setACLStrategy(boolean cellFirstStrategy) |
void |
setAuthorizations(Authorizations authorizations)
Sets the authorizations to be used by this Query
|
Query |
setFilter(Filter filter)
Apply the specified server-side filter when performing the Query.
|
getAttribute, getAttributeSize, getAttributesMap, getId, setAttribute, setIdprotected Filter filter
public Filter getFilter()
public Query setFilter(Filter filter)
Filter.filterKeyValue(Cell) is called AFTER all tests
for ttl, column match, deletes and max versions have been run.filter - filter to run on the serverpublic void setAuthorizations(Authorizations authorizations)
authorizations - public Authorizations getAuthorizations() throws DeserializationException
DeserializationExceptionpublic byte[] getACL()
public void setACL(String user, Permission perms)
user - User short nameperms - Permissions for the userpublic void setACL(Map<String,Permission> perms)
perms - A map of permissions for a user or userspublic boolean getACLStrategy()
public void setACLStrategy(boolean cellFirstStrategy)
cellFirstStrategy - true if ACLs should be evaluated on the cell
level first, false if ACL should first be checked at the CF and table
levelsCopyright © 2014 The Apache Software Foundation. All Rights Reserved.