Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.generic |
Modifier and Type | Method and Description |
---|---|
DBRecord |
DBRecord.create()
Creates a new record
|
DBRecord |
DBRecord.create(Object[] initalKey)
Creates a new record
|
DBRecord |
DBRecord.read(DBCompareExpr whereConstraints)
Reads a record from the database
|
DBRecord |
DBRecord.read(Object id)
Reads a record from the database
This method can only be used for tables with a single primary key
|
DBRecord |
DBRecord.read(Object[] key)
Reads a record from the database
|
DBRecord |
DBRecord.read(Object[] key,
DBRowSet.PartialMode mode,
DBColumn... columns)
Reads a record partially i.e. not with all but just some selected fields
There are two modes:
1.
|
DBRecord |
DBRecord.set(Column column,
Object value)
Overridden to change return type from DBCommandExpr to DBCommand
|
Modifier and Type | Method and Description |
---|---|
List<DBRecord> |
DBUtils.queryRecordList(DBCommand cmd,
DBRowSet rowset)
Executes a query and returns a list of DBRecord items
|
Modifier and Type | Class and Description |
---|---|
class |
TRecord<CTX extends DBContext,T extends DBRowSet> |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.