@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()
Deprecated.
No effect
|
Authorizations |
getAuthorizations() |
Filter |
getFilter() |
IsolationLevel |
getIsolationLevel() |
void |
setACL(Map<String,Permission> perms) |
void |
setACL(String user,
Permission perms) |
void |
setACLStrategy(boolean cellFirstStrategy)
Deprecated.
No effect
|
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.
|
void |
setIsolationLevel(IsolationLevel level)
Set the isolation level for this query.
|
getAttribute, getAttributeSize, getAttributesMap, getId, setAttribute, setId
protected 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 server@InterfaceStability.Unstable public void setAuthorizations(Authorizations authorizations)
authorizations
- @InterfaceStability.Unstable public Authorizations getAuthorizations() throws DeserializationException
DeserializationException
@InterfaceStability.Unstable public byte[] getACL()
@InterfaceStability.Unstable public void setACL(String user, Permission perms)
user
- User short nameperms
- Permissions for the user@InterfaceStability.Unstable public void setACL(Map<String,Permission> perms)
perms
- A map of permissions for a user or users@Deprecated public boolean getACLStrategy()
@Deprecated public void setACLStrategy(boolean cellFirstStrategy)
public void setIsolationLevel(IsolationLevel level)
level
- IsolationLevel for this querypublic IsolationLevel getIsolationLevel()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.