Constructor and Description |
---|
H2Data()
Public ctor.
|
H2Data(File file)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Attributes> |
iterate(String table,
Conditions conds)
Iterate everything for the given table.
|
void |
put(String table,
Attributes attrs)
Add new attribute into the given table.
|
MkData |
with(String table,
String[] keys,
String[] attrs)
With this table, that has given primary keys.
|
public H2Data() throws IOException
IOException
- If failspublic H2Data(File file)
file
- Where to keep the databasepublic Iterable<Attributes> iterate(String table, Conditions conds) throws IOException
MkData
iterate
in interface MkData
table
- Name of the tableconds
- ConditionsIOException
- If failspublic void put(String table, Attributes attrs) throws IOException
MkData
put
in interface MkData
table
- Table nameattrs
- Attributes to saveIOException
- If failspublic MkData with(String table, String[] keys, String[] attrs) throws IOException
table
- Table namekeys
- Primary keysattrs
- AttributesIOException
- If failsCopyright © 2012–2014 jcabi.com. All rights reserved.