Constructor and Description |
---|
QueryValve()
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Dosage |
fetch(Credentials credentials,
String table,
Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions,
Collection<String> keys)
Fetch the first dosage.
|
QueryValve |
withAttributesToGet(String... names)
With these extra attributes to pre-fetch.
|
QueryValve |
withAttributeToGet(String name)
With this extra attribute to pre-fetch.
|
QueryValve |
withLimit(int lmt)
With given limit.
|
QueryValve |
withScanIndexForward(boolean fwd)
With scan index forward flag.
|
public Dosage fetch(Credentials credentials, String table, Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions, Collection<String> keys)
public QueryValve withLimit(int lmt)
lmt
- Limit to usepublic QueryValve withScanIndexForward(boolean fwd)
fwd
- Forward flagpublic QueryValve withAttributeToGet(@NotNull(message="attribute name can\'t be NULL") String name)
name
- Name of attribute to pre-loadpublic QueryValve withAttributesToGet(String... names)
names
- Name of attributes to pre-loadCopyright © 2012–2014 jcabi.com. All rights reserved.