@Immutable public interface MkData
Modifier and Type | Method and Description |
---|---|
void |
delete(String table,
Attributes keys)
Delete attributes from the given table.
|
Iterable<Attributes> |
iterate(String table,
Conditions conds)
Iterate everything for the given table.
|
Iterable<String> |
keys(String table)
Get keys for the given table.
|
void |
put(String table,
Attributes attrs)
Add new attribute into the given table.
|
void |
update(String table,
Attributes keys,
AttributeUpdates attrs)
Add new attribute into the given table.
|
Iterable<String> keys(String table) throws IOException
table
- Name of the tableIOException
- If failsIterable<Attributes> iterate(String table, Conditions conds) throws IOException
table
- Name of the tableconds
- ConditionsIOException
- If failsvoid put(String table, Attributes attrs) throws IOException
table
- Table nameattrs
- Attributes to saveIOException
- If failsvoid update(String table, Attributes keys, AttributeUpdates attrs) throws IOException
table
- Table namekeys
- Keysattrs
- Attributes to saveIOException
- If failsvoid delete(String table, Attributes keys) throws IOException
table
- Table namekeys
- KeysIOException
- If failsCopyright © 2012–2017 jcabi.com. All rights reserved.