| 程序包 | 说明 |
|---|---|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.jdbc |
Implementation of the JDBC API (package java.sql).
|
| org.h2.jdbc.meta |
Implementation of the JDBC database metadata API (package java.sql).
|
| org.h2.result |
Implementation of row and internal result sets.
|
| org.h2.value |
Data type and value implementations.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SessionLocal
A session represents an embedded database connection.
|
class |
SessionRemote
The client side part of a session when using the server mode.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
SessionRemote.connectEmbeddedOrServer(boolean openNew)
Open a new (remote or embedded) session.
|
Session |
SessionRemote.connectEmbeddedOrServer(boolean openNew)
Open a new (remote or embedded) session.
|
Session |
Session.setThreadLocalSession()
Sets this session as thread local session, if this session is a local
session.
|
Session |
SessionLocal.setThreadLocalSession() |
Session |
SessionLocal.setThreadLocalSession() |
Session |
Session.setThreadLocalSession()
Sets this session as thread local session, if this session is a local
session.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Session.resetThreadLocalSession(Session oldSession)
Resets old thread local session.
|
void |
SessionLocal.resetThreadLocalSession(Session oldSession) |
void |
SessionLocal.resetThreadLocalSession(Session oldSession) |
void |
Session.resetThreadLocalSession(Session oldSession)
Resets old thread local session.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Session |
JdbcStatement.session |
protected Session |
JdbcStatement.session |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
JdbcConnection.getSession()
INTERNAL
|
Session |
JdbcConnection.getSession()
INTERNAL
|
| 构造器和说明 |
|---|
JdbcConnection(Session session,
String user,
String url)
INTERNAL
|
JdbcConnection(Session session,
String user,
String url)
INTERNAL
|
| 构造器和说明 |
|---|
DatabaseMetaLegacy(Session session) |
DatabaseMetaLegacy(Session session) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultInterface |
FetchedResult.createShallowCopy(Session targetSession) |
LocalResult |
LocalResult.createShallowCopy(Session targetSession)
Create a shallow copy of the result set.
|
ResultInterface |
ResultInterface.createShallowCopy(Session targetSession)
Create a shallow copy of the result set.
|
ResultInterface |
ResultWithPaddedStrings.createShallowCopy(Session targetSession) |
SimpleResult |
SimpleResult.createShallowCopy(Session targetSession) |
SimpleResult |
SimpleResult.createShallowCopy(Session targetSession) |
ResultInterface |
ResultWithPaddedStrings.createShallowCopy(Session targetSession) |
ResultInterface |
ResultInterface.createShallowCopy(Session targetSession)
Create a shallow copy of the result set.
|
LocalResult |
LocalResult.createShallowCopy(Session targetSession)
Create a shallow copy of the result set.
|
ResultInterface |
FetchedResult.createShallowCopy(Session targetSession) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Value |
ValueToObjectConverter.objectToValue(Session session,
Object x,
int type)
Convert a Java object to a value.
|
static Value |
ValueToObjectConverter.objectToValue(Session session,
Object x,
int type)
Convert a Java object to a value.
|
static Value |
ValueToObjectConverter.readValue(Session session,
JdbcResultSet rs,
int columnIndex)
Read a value from the given result set.
|
static Value |
ValueToObjectConverter.readValue(Session session,
JdbcResultSet rs,
int columnIndex)
Read a value from the given result set.
|
static Value |
ValueToObjectConverter2.readValue(Session session,
ResultSet rs,
int columnIndex,
int type)
Read a value from the given result set.
|
static Value |
ValueToObjectConverter2.readValue(Session session,
ResultSet rs,
int columnIndex,
int type)
Read a value from the given result set.
|
void |
Transfer.setSession(Session session)
Set the session.
|
void |
Transfer.setSession(Session session)
Set the session.
|
| 构造器和说明 |
|---|
Transfer(Session session,
Socket s)
Create a new transfer object for the specified session.
|
Transfer(Session session,
Socket s)
Create a new transfer object for the specified session.
|
Copyright © 2022. All rights reserved.