Package org.apache.torque.util
Klasse ColumnValues
java.lang.Object
org.apache.torque.util.ColumnValues
- Alle implementierten Schnittstellen:
Map<Column,
JdbcTypedValue>
A class containing values for database columns.
The insertion order of the entries is preserved.
- Version:
- $Id: ColumnValues.java 1840416 2018-09-09 15:10:22Z tv $
-
Verschachtelte Klassen - Übersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructor with no contained column values.ColumnValues
(String dbName) Constructor with no contained column values.ColumnValues
(Map<Column, JdbcTypedValue> columnValues) Constructor.ColumnValues
(Map<Column, JdbcTypedValue> columnValues, String dbName) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
Returns the name of the database handle to use for connection opening.boolean
isEmpty()
keySet()
put
(Column key, JdbcTypedValue value) void
putAll
(Map<? extends Column, ? extends JdbcTypedValue> t) int
size()
toString()
values()
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Konstruktordetails
-
ColumnValues
public ColumnValues()Constructor with no contained column values.- Löst aus:
NullPointerException
- if table is null.
-
ColumnValues
Constructor with no contained column values.- Parameter:
dbName
- the name of the database handle to use for connection opening if needed, or null to use the default database handle for the table.- Löst aus:
NullPointerException
- if table is null.
-
ColumnValues
Constructor.- Parameter:
columnValues
- the column values, or null.- Löst aus:
NullPointerException
- if table is null.
-
ColumnValues
Constructor.- Parameter:
columnValues
- the column values, or null.dbName
- the name of the database handle to use for connection opening if needed, or null to use the default database handle for the table.- Löst aus:
NullPointerException
- if table is null.
-
-
Methodendetails
-
getDbName
Returns the name of the database handle to use for connection opening.- Gibt zurück:
- the database name, or null to use the default database handle for the table.
-
size
public int size()- Angegeben von:
size
in SchnittstelleMap<Column,
JdbcTypedValue>
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmpty
in SchnittstelleMap<Column,
JdbcTypedValue>
-
containsKey
- Angegeben von:
containsKey
in SchnittstelleMap<Column,
JdbcTypedValue>
-
containsValue
- Angegeben von:
containsValue
in SchnittstelleMap<Column,
JdbcTypedValue>
-
get
- Angegeben von:
get
in SchnittstelleMap<Column,
JdbcTypedValue>
-
put
- Angegeben von:
put
in SchnittstelleMap<Column,
JdbcTypedValue>
-
remove
- Angegeben von:
remove
in SchnittstelleMap<Column,
JdbcTypedValue>
-
putAll
- Angegeben von:
putAll
in SchnittstelleMap<Column,
JdbcTypedValue>
-
clear
public void clear()- Angegeben von:
clear
in SchnittstelleMap<Column,
JdbcTypedValue>
-
keySet
- Angegeben von:
keySet
in SchnittstelleMap<Column,
JdbcTypedValue>
-
values
- Angegeben von:
values
in SchnittstelleMap<Column,
JdbcTypedValue>
-
entrySet
- Angegeben von:
entrySet
in SchnittstelleMap<Column,
JdbcTypedValue>
-
toString
-