Package | Description |
---|---|
org.h2.api |
Contains interfaces for user-defined extensions, such as triggers and user-defined aggregate functions.
|
org.h2.command.dml |
Contains DML (data manipulation language) and related SQL statements.
|
org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
org.h2.mvstore.db |
Helper classes to use the MVStore in the H2 database.
|
org.h2.security |
Security classes, such as encryption and cryptographically secure hash algorithms.
|
org.h2.store |
Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa.
|
org.h2.tools |
Various tools.
|
org.h2.util |
Internal utility classes.
|
org.h2.value |
Data type and value implementations.
|
Modifier and Type | Method and Description |
---|---|
Value |
CustomDataTypesHandler.getValue(int type,
Object data,
DataHandler dataHandler)
Get
Value object
corresponding to given data type identifier and data. |
Modifier and Type | Class and Description |
---|---|
class |
RunScriptCommand
This class represents the statement
RUNSCRIPT
|
class |
ScriptCommand
This class represents the statement
SCRIPT
|
Modifier and Type | Class and Description |
---|---|
class |
Database
There is one database object per open database.
|
class |
SessionRemote
The client side part of a session when using the server mode.
|
Modifier and Type | Method and Description |
---|---|
DataHandler |
SessionRemote.getDataHandler() |
DataHandler |
SessionInterface.getDataHandler()
Get the data handler object.
|
DataHandler |
Session.getDataHandler() |
Constructor and Description |
---|
ValueDataType(CompareMode compareMode,
DataHandler handler,
int[] sortTypes) |
Constructor and Description |
---|
SecureFileStore(DataHandler handler,
String name,
String mode,
String cipher,
byte[] key,
int keyIterations) |
Modifier and Type | Method and Description |
---|---|
DataHandler |
Data.getHandler() |
Modifier and Type | Method and Description |
---|---|
static Data |
Data.create(DataHandler handler,
byte[] buff)
Create a new buffer using the given data for the given handler.
|
static Data |
Data.create(DataHandler handler,
int capacity)
Create a new buffer for the given handler.
|
static int |
Data.getValueLen(Value v,
DataHandler handler)
Calculate the number of bytes required to encode the given value.
|
static FileStore |
FileStore.open(DataHandler handler,
String name,
String mode)
Open a non encrypted file store with the given settings.
|
static FileStore |
FileStore.open(DataHandler handler,
String name,
String mode,
String cipher,
byte[] key)
Open an encrypted file store with the given settings.
|
static FileStore |
FileStore.open(DataHandler handler,
String name,
String mode,
String cipher,
byte[] key,
int keyIterations)
Open an encrypted file store with the given settings.
|
Constructor and Description |
---|
FileStore(DataHandler handler,
String name,
String mode)
Create a new file using the given settings.
|
FileStoreInputStream(FileStore store,
DataHandler handler,
boolean compression,
boolean alwaysClose) |
FileStoreOutputStream(FileStore store,
DataHandler handler,
String compressionAlgorithm) |
LobStorageFrontend(DataHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
Recover
Helps recovering a corrupted database.
|
Modifier and Type | Method and Description |
---|---|
static Object |
JdbcUtils.deserialize(byte[] data,
DataHandler dataHandler)
De-serialize the byte array to an object, eventually using the serializer
specified by the connection info.
|
static byte[] |
JdbcUtils.serialize(Object obj,
DataHandler dataHandler)
Serialize the object to a byte array, using the serializer specified by
the connection info if set, or the default serializer.
|
Modifier and Type | Method and Description |
---|---|
protected DataHandler |
ValueJavaObject.getDataHandler() |
protected DataHandler |
Value.getDataHandler()
Return the data handler for the values that support it
(actually only Java objects).
|
Modifier and Type | Method and Description |
---|---|
void |
ValueLob.convertToFileIfRequired(DataHandler h)
Store the lob data to a file if the size of the buffer is larger than the
maximum size for an in-place lob.
|
Value |
ValueLobDb.copy(DataHandler database,
int tableId) |
Value |
ValueLob.copy(DataHandler h,
int tabId) |
Value |
Value.copy(DataHandler handler,
int tableId)
Copy a large value, to be used in the given table.
|
static ValueLobDb |
ValueLobDb.create(int type,
DataHandler handler,
int tableId,
long id,
byte[] hmac,
long precision)
Create a LOB value.
|
static ValueLobDb |
ValueLobDb.createTempBlob(InputStream in,
long length,
DataHandler handler)
Create a temporary BLOB value from a stream.
|
static ValueLobDb |
ValueLobDb.createTempClob(Reader in,
long length,
DataHandler handler)
Create a temporary CLOB value from a stream.
|
static ValueJavaObject |
ValueJavaObject.getNoCopy(Object javaObject,
byte[] b,
DataHandler dataHandler)
Get or create a java object value for the given byte array.
|
static ValueLob |
ValueLob.openLinked(int type,
DataHandler handler,
int tableId,
int objectId,
long precision,
boolean compression)
Create a LOB value with the given parameters.
|
static ValueLob |
ValueLob.openUnlinked(int type,
DataHandler handler,
int tableId,
int objectId,
long precision,
boolean compression,
String fileName)
Create a LOB value with the given parameters.
|
Constructor and Description |
---|
ValueJavaObject(byte[] v,
DataHandler dataHandler) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.