Class TkmHashTableImplSQLITE
- java.lang.Object
-
- com.h2tcoin.takamakachain.tkmdata.TkmHashTableImplSQLITE
-
- All Implemented Interfaces:
TkmHashTableInterface
public class TkmHashTableImplSQLITE extends Object implements TkmHashTableInterface
- Author:
- giovanni.antino@h2tcoin.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTkmHashTableImplSQLITE(String connectionPath)protectedTkmHashTableImplSQLITE(String driver, String folder, String fragmentName, int depth, String extension, boolean isNewDatabase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringclean(String options)voidclose(Object options)voiddelete(String hexKey)voiddelete(String[] s)booleanexist(String hexKey)booleanexist(String[] s)Stringget(String hexKey)Stringget(String[] s)voidinsert(String[][] m)voidinsert(String hexKey, String base64urlValue)
-
-
-
Constructor Detail
-
TkmHashTableImplSQLITE
protected TkmHashTableImplSQLITE(String connectionPath) throws DataStructureCreationError
- Throws:
DataStructureCreationError
-
TkmHashTableImplSQLITE
protected TkmHashTableImplSQLITE(String driver, String folder, String fragmentName, int depth, String extension, boolean isNewDatabase) throws ClassNotFoundException, InvalidDatastructureDepth, IntegerOverflow, DataStructureCreationError, TkmDataException
-
-
Method Detail
-
insert
public void insert(String hexKey, String base64urlValue) throws TkmDataException
- Specified by:
insertin interfaceTkmHashTableInterface- Throws:
TkmDataException
-
insert
public void insert(String[][] m) throws TkmDataException
- Specified by:
insertin interfaceTkmHashTableInterface- Throws:
TkmDataException
-
get
public String get(String hexKey) throws TkmDataException
- Specified by:
getin interfaceTkmHashTableInterface- Returns:
- Throws:
TkmDataException
-
exist
public boolean exist(String hexKey) throws TkmDataException
- Specified by:
existin interfaceTkmHashTableInterface- Returns:
- Throws:
TkmDataException
-
delete
public void delete(String hexKey) throws TkmDataException
- Specified by:
deletein interfaceTkmHashTableInterface- Throws:
TkmDataException
-
clean
public String clean(String options) throws TkmDataException
- Specified by:
cleanin interfaceTkmHashTableInterface- Returns:
- Throws:
TkmDataException
-
close
public void close(Object options) throws TkmDataException
- Specified by:
closein interfaceTkmHashTableInterface- Throws:
TkmDataException
-
get
public String get(String[] s) throws TkmDataException
- Specified by:
getin interfaceTkmHashTableInterface- Throws:
TkmDataException
-
exist
public boolean exist(String[] s) throws TkmDataException
- Specified by:
existin interfaceTkmHashTableInterface- Throws:
TkmDataException
-
delete
public void delete(String[] s) throws TkmDataException
- Specified by:
deletein interfaceTkmHashTableInterface- Throws:
TkmDataException
-
-