Uses of Class
org.h2.value.Value
Packages that use Value
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Aggregate functions.
Base classes for data analysis operations and implementations of window functions.
Condition expressions.
Functions.
Various table index implementations, as well as cursors to navigate in an index.
Implementation of the JDBC API (package java.sql).
Implementation of the JDBC database metadata API (package java.sql).
Utility classes for compatibility with other database, for example MySQL.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
PostgreSQL server implementation of this database.
Classes related to a table and table meta data.
Various tools.
Internal utility classes.
Internal utility classes for JSON data type.
Data type and value implementations.
-
Uses of Value in org.h2.command
Fields in org.h2.command declared as ValueMethods in org.h2.command that return ValueModifier and TypeMethodDescription(package private) Value
Token.BigintToken.value
(CastDataProvider provider) (package private) Value
Token.BinaryStringToken.value
(CastDataProvider provider) (package private) Value
Token.CharacterStringToken.value
(CastDataProvider provider) (package private) Value
Token.IntegerToken.value
(CastDataProvider provider) (package private) Value
Token.value
(CastDataProvider provider) (package private) Value
Token.ValueToken.value
(CastDataProvider provider) Methods in org.h2.command with parameters of type ValueModifier and TypeMethodDescriptionvoid
Method parameters in org.h2.command with type arguments of type ValueModifier and TypeMethodDescriptionprivate static Prepared
Parser.prepare
(SessionLocal s, String sql, ArrayList<Value> paramValues) Constructors in org.h2.command with parameters of type Value -
Uses of Value in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type Value -
Uses of Value in org.h2.command.dml
Fields in org.h2.command.dml declared as ValueModifier and TypeFieldDescriptionprivate Value[]
Insert.onDuplicateKeyRow
(package private) Value[]
SetClauseList.RowExpression.values
Methods in org.h2.command.dml that return ValueModifier and TypeMethodDescriptionInsert.getOnDuplicateKeyValue
(int columnIndex) Get the value to use for the specified column in case of a duplicate key.(package private) Value
SetClauseList.SetMultiple.update
(SessionLocal session) (package private) Value
SetClauseList.SetSimple.update
(SessionLocal session) (package private) Value
SetClauseList.UpdateAction.update
(SessionLocal session) Methods in org.h2.command.dml with parameters of type ValueModifier and TypeMethodDescriptionvoid
private boolean
Insert.handleOnDuplicate
(DbException de, Value[] currentRow) private static TimeZoneProvider
Set.parseTimeZone
(Value v) private int
ScriptCommand.writeLobStream
(Value v) -
Uses of Value in org.h2.command.query
Fields in org.h2.command.query declared as ValueModifier and TypeFieldDescription(package private) Value[]
TableValueConstructor.TableValueColumnResolver.currentRow
private Value[]
Query.lastParameters
private Value[]
Select.LazyResultGroupSorted.previousKeyValues
Fields in org.h2.command.query with type parameters of type ValueModifier and TypeFieldDescriptionprivate final HashMap
<DataAnalysisOperation, TreeMap<Value, PartitionData>> SelectGroups.windowPartitionData
Maps an partitioned window expression object to its data.Methods in org.h2.command.query that return ValueModifier and TypeMethodDescriptionprivate Value[]
Select.constructGroupResultRow
(Value[] keyValues, int columnCount) private Value[]
(package private) Value[]
Select.createGroupSortedRow
(Value[] keyValues, int columnCount) Create a row with the current values, for queries with group-sort.protected Value[]
Select.LazyResultGroupSorted.fetchNextRow()
protected Value[]
Select.LazyResultQueryFlat.fetchNextRow()
protected Value[]
SelectUnion.LazyResultUnion.fetchNextRow()
private Value[]
Query.getParameterValues()
private Value[]
Select.rowForResult
(Value[] row, int columnCount) Removes HAVING and QUALIFY columns from the row.Methods in org.h2.command.query with parameters of type ValueModifier and TypeMethodDescriptionprivate Value[]
Select.constructGroupResultRow
(Value[] keyValues, int columnCount) private Value[]
(package private) Value[]
Select.createGroupSortedRow
(Value[] keyValues, int columnCount) Create a row with the current values, for queries with group-sort.final PartitionData
SelectGroups.getWindowExprData
(DataAnalysisOperation expr, Value partitionKey) Get the window data for the specified expression.private boolean
Select.isHavingNullOrFalse
(Value[] row) private Value[]
Select.rowForResult
(Value[] row, int columnCount) Removes HAVING and QUALIFY columns from the row.private boolean
Query.sameResultAsLast
(Value[] params, Value[] lastParams, long lastEval) final void
SelectGroups.setWindowExprData
(DataAnalysisOperation expr, Value partitionKey, PartitionData obj) Set the window data for the specified expression. -
Uses of Value in org.h2.constraint
Fields in org.h2.constraint declared as ValueMethods in org.h2.constraint that return ValueMethods in org.h2.constraint with parameters of type ValueModifier and TypeMethodDescriptionvoid
ConstraintDomain.check
(SessionLocal session, Value value) Check the specified value.void
-
Uses of Value in org.h2.engine
Fields in org.h2.engine declared as ValueModifier and TypeFieldDescriptionprivate Value
SessionLocal.lastIdentity
(package private) Value
SessionLocal.RowNumberAndValue.nextValue
Fields in org.h2.engine with type parameters of type ValueModifier and TypeFieldDescriptionprivate WeakHashMap
<Sequence, Value> SessionLocal.currentValueFor
SessionLocal.variables
Methods in org.h2.engine that return ValueModifier and TypeMethodDescriptionSessionLocal.getCurrentValueFor
(Sequence sequence) Returns the current value of the sequence in this session.SessionLocal.getLastIdentity()
SessionLocal.getNextValueFor
(Sequence sequence, Prepared prepared) Returns the next value of the sequence in this session.SessionLocal.getTransactionId()
SessionLocal.getVariable
(String name) Get the value of the specified user defined variable.Methods in org.h2.engine with parameters of type ValueModifier and TypeMethodDescriptionboolean
Check if two values are equal with the current comparison mode.int
Compare two values with the current comparison mode.int
SessionLocal.compareTypeSafe
(Value a, Value b) Compare two values with the current comparison mode.int
SessionLocal.compareWithNull
(Value a, Value b, boolean forEquality) Compare two values with the current comparison mode.void
SessionLocal.setLastIdentity
(Value last) void
SessionLocal.setVariable
(String name, Value value) Set the value of the given variable for this session.Constructors in org.h2.engine with parameters of type ValueModifierConstructorDescription(package private)
RowNumberAndValue
(long rowNumber, Value nextValue) -
Uses of Value in org.h2.expression
Fields in org.h2.expression declared as ValueModifier and TypeFieldDescriptionprivate Value
Variable.lastValue
private Value
Subquery.nullValue
private Value
Parameter.value
private Value
ParameterRemote.value
(package private) final Value
ValueExpression.value
The value.Methods in org.h2.expression that return ValueModifier and TypeMethodDescriptionprivate Value
IntervalOperation.getDateTimeWithInterval
(SessionLocal session, Value l, Value r, int lType, int rType) Parameter.getParamValue()
ParameterInterface.getParamValue()
Get the value of the parameter if set.ParameterRemote.getParamValue()
Alias.getValue
(SessionLocal session) ArrayConstructorByQuery.getValue
(SessionLocal session) ArrayElementReference.getValue
(SessionLocal session) BinaryOperation.getValue
(SessionLocal session) CompatibilityDatePlusTimeOperation.getValue
(SessionLocal session) ConcatenationOperation.getValue
(SessionLocal session) private Value
ConcatenationOperation.getValue
(SessionLocal session, int l) private Value
ConcatenationOperation.getValue
(SessionLocal session, Value l, Value r) DomainValueExpression.getValue
(SessionLocal session) abstract Value
Expression.getValue
(SessionLocal session) Return the resulting value for the current row.ExpressionColumn.getValue
(SessionLocal session) ExpressionList.getValue
(SessionLocal session) FieldReference.getValue
(SessionLocal session) Format.getValue
(SessionLocal session) Returns the value with applied format.IntervalOperation.getValue
(SessionLocal session) Parameter.getValue
(SessionLocal session) Rownum.getValue
(SessionLocal session) SearchedCase.getValue
(SessionLocal session) SequenceValue.getValue
(SessionLocal session) SimpleCase.getValue
(SessionLocal session) Subquery.getValue
(SessionLocal session) TimeZoneOperation.getValue
(SessionLocal session) UnaryOperation.getValue
(SessionLocal session) ValueExpression.getValue
(SessionLocal session) Variable.getValue
(SessionLocal session) Wildcard.getValue
(SessionLocal session) private Value
Subquery.readRow
(ResultInterface result) Methods in org.h2.expression that return types with arguments of type ValueModifier and TypeMethodDescriptionSubquery.getAllRows
(SessionLocal session) Evaluates and returns all rows of the subquery.Methods in org.h2.expression with parameters of type ValueModifier and TypeMethodDescriptionstatic ValueExpression
Create a new expression with the given value and type.static ValueExpression
Create a new expression with the given value.static ValueExpression
ValueExpression.getBoolean
(Value value) Create a new expression with the given boolean value.private Value
IntervalOperation.getDateTimeWithInterval
(SessionLocal session, Value l, Value r, int lType, int rType) private static ValueExpression
private long
IntervalOperation.getTimeWithInterval
(Value r, long nanos) static ValueExpression
TypedValueExpression.getTypedIfNull
(Value value, TypeInfo type) Create a new typed value expression with the given value and type if value isNULL
, or a plain value expression otherwise.private Value
ConcatenationOperation.getValue
(SessionLocal session, Value l, Value r) Returns the value with applied format.boolean
Expression.getWhenValue
(SessionLocal session, Value left) Return the resulting value of when operand for the current row.private static boolean
private static BigInteger
IntervalOperation.nanosFromValue
(SessionLocal session, Value v) static int
TimeZoneOperation.parseInterval
(Value interval) Parses a daytime interval as time zone offset.private static int
TimeZoneOperation.parseTimeZone
(Value b, long dateValue, long timeNanos, int offsetSeconds, boolean allowTimeZoneName) void
void
void
Set the value of the parameter.void
Constructors in org.h2.expression with parameters of type ValueModifierConstructorDescriptionprivate
TypedValueExpression
(Value value, TypeInfo type) (package private)
ValueExpression
(Value value) -
Uses of Value in org.h2.expression.aggregate
Fields in org.h2.expression.aggregate declared as ValueModifier and TypeFieldDescriptionprivate Value
AggregateDataCollecting.shared
private Value
AggregateDataDefault.value
Fields in org.h2.expression.aggregate with type parameters of type ValueModifier and TypeFieldDescription(package private) Collection
<Value> AggregateDataCollecting.values
private TreeMap
<Value, LongDataCounter> AggregateDataDistinctWithCounts.values
Methods in org.h2.expression.aggregate that return ValueModifier and TypeMethodDescriptionprivate static Value
Aggregate.collect
(SessionLocal session, AggregateDataCollecting c, AggregateData d) Aggregate.getAggregatedValue
(SessionLocal session, Object aggregateData) JavaAggregate.getAggregatedValue
(SessionLocal session, Object aggregateData) (package private) Value[]
AggregateDataCollecting.getArray()
Returns array with values ornull
.private static Value
Aggregate.getCumeDist
(Value[] ordered, Value arg, Comparator<Value> sort) (package private) static Value
Percentile.getFromIndex
(SessionLocal session, Expression expression, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the index.private Value
Aggregate.getHistogram
(SessionLocal session, AggregateData data) private Value
Aggregate.getHypotheticalSet
(SessionLocal session, AggregateData data) private Value
Aggregate.getListagg
(SessionLocal session, AggregateData data) private Value
Aggregate.getMode
(SessionLocal session, AggregateData data) private Value
Aggregate.getRank
(Value[] ordered, Value arg, Comparator<Value> sort) private Value
Aggregate.getSecondValue
(SessionLocal session, Value[] remembered) (package private) Value
AggregateDataCollecting.getSharedArgument()
Returns value of a shared argument.Aggregate.getValue
(SessionLocal session) (package private) abstract Value
AggregateData.getValue
(SessionLocal session) Get the aggregate result.(package private) Value
AggregateDataAvg.getValue
(SessionLocal session) (package private) Value
AggregateDataCollecting.getValue
(SessionLocal session) (package private) Value
AggregateDataCorr.getValue
(SessionLocal session) (package private) Value
AggregateDataCount.getValue
(SessionLocal session) (package private) Value
AggregateDataCovar.getValue
(SessionLocal session) (package private) Value
AggregateDataDefault.getValue
(SessionLocal session) (package private) Value
AggregateDataDistinctWithCounts.getValue
(SessionLocal session) (package private) Value
AggregateDataEnvelope.getValue
(SessionLocal session) (package private) Value
AggregateDataStdVar.getValue
(SessionLocal session) (package private) static Value
Percentile.getValue
(SessionLocal session, Value[] array, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the array of values.private Value
Aggregate.getValueQuick
(SessionLocal session) private static Value
Percentile.interpolate
(Value v0, Value v1, BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode) private Value
Aggregate.updateCollecting
(SessionLocal session, Value v, Value[] remembered) Methods in org.h2.expression.aggregate that return types with arguments of type ValueModifier and TypeMethodDescription(package private) TreeMap
<Value, LongDataCounter> AggregateDataDistinctWithCounts.getValues()
Returns map with values and their counts.AggregateDataCollecting.iterator()
Methods in org.h2.expression.aggregate with parameters of type ValueModifier and TypeMethodDescription(package private) abstract void
AggregateData.add
(SessionLocal session, Value v) Add a value to this aggregate.(package private) void
AggregateDataAvg.add
(SessionLocal session, Value v) (package private) final void
AggregateDataBinarySet.add
(SessionLocal session, Value v) (package private) abstract void
AggregateDataBinarySet.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataCollecting.add
(SessionLocal session, Value v) (package private) void
AggregateDataCorr.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataCount.add
(SessionLocal session, Value v) (package private) void
AggregateDataCovar.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataDefault.add
(SessionLocal session, Value v) (package private) void
AggregateDataDistinctWithCounts.add
(SessionLocal session, Value v) (package private) void
AggregateDataEnvelope.add
(SessionLocal session, Value v) (package private) void
AggregateDataStdVar.add
(SessionLocal session, Value v) private static Value
Aggregate.getCumeDist
(Value[] ordered, Value arg, Comparator<Value> sort) private StringBuilder
Aggregate.getListaggError
(Value[] array, String separator) private String
Aggregate.getListaggItem
(Value v) private StringBuilder
Aggregate.getListaggTruncate
(Value[] array, String separator, String filter, boolean withoutCount) private Value
Aggregate.getRank
(Value[] ordered, Value arg, Comparator<Value> sort) private Value
Aggregate.getSecondValue
(SessionLocal session, Value[] remembered) (package private) static Value
Percentile.getValue
(SessionLocal session, Value[] array, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the array of values.private static Value
Percentile.interpolate
(Value v0, Value v1, BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode) private boolean
private int
AbstractAggregate.processGroup
(HashMap<Integer, Value> result, Value r, ArrayList<Value[]> ordered, int rowIdColumn, int i, int size, boolean grouped) protected void
Aggregate.rememberExpressions
(SessionLocal session, Value[] array) protected void
JavaAggregate.rememberExpressions
(SessionLocal session, Value[] array) (package private) void
AggregateDataCollecting.setSharedArgument
(Value shared) Sets value of a shared argument.private void
Aggregate.sortWithOrderBy
(Value[] array) private Value
Aggregate.updateCollecting
(SessionLocal session, Value v, Value[] remembered) private void
Aggregate.updateData
(SessionLocal session, AggregateData data, Value v, Value[] remembered) private void
JavaAggregate.updateData
(SessionLocal session, Object aggregateData, Value[] remembered) protected abstract void
AbstractAggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) Updates the provided aggregate data from the remembered expressions.protected void
Aggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) protected void
JavaAggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) Method parameters in org.h2.expression.aggregate with type arguments of type ValueModifier and TypeMethodDescriptionprivate void
AbstractAggregate.aggregateFastPartition
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private void
AbstractAggregate.aggregateFastPartitionInReverse
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private void
AbstractAggregate.aggregateWholePartition
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private static Value
Aggregate.getCumeDist
(Value[] ordered, Value arg, Comparator<Value> sort) protected void
AbstractAggregate.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private Value
Aggregate.getRank
(Value[] ordered, Value arg, Comparator<Value> sort) private int
AbstractAggregate.processGroup
(HashMap<Integer, Value> result, Value r, ArrayList<Value[]> ordered, int rowIdColumn, int i, int size, boolean grouped) -
Uses of Value in org.h2.expression.analysis
Fields in org.h2.expression.analysis declared as ValueFields in org.h2.expression.analysis with type parameters of type ValueMethods in org.h2.expression.analysis that return ValueModifier and TypeMethodDescriptionprotected abstract Value
DataAnalysisOperation.getAggregatedValue
(SessionLocal session, Object aggregateData) Returns aggregated value.protected Value
WindowFunction.getAggregatedValue
(SessionLocal session, Object aggregateData) private static Value[]
WindowFrame.getCompareRow
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, WindowFrameBound bound, boolean add) Appends bound value to the current row and produces row for comparison operations.Window.getCurrentKey
(SessionLocal session) Returns the key for the current group.private static Value
WindowFunction.getNthValue
(Iterator<Value[]> iterator, int number, boolean ignoreNulls) private Value
DataAnalysisOperation.getOrderedResult
(SessionLocal session, SelectGroups groupData, PartitionData partition, Object data) (package private) Value
PartitionData.getResult()
Returns the result.DataAnalysisOperation.getValue
(SessionLocal session) private static Value
WindowFrame.getValueOffset
(WindowFrameBound bound, Value[] values, SessionLocal session) private Value
DataAnalysisOperation.getWindowResult
(SessionLocal session, SelectGroups groupData) Returns result of this window function or window aggregate.Value[]
WindowFrame.BiItr.next()
Value[]
WindowFrame.BiReverseItr.next()
Value[]
WindowFrame.PlainItr.next()
Value[]
WindowFrame.PlainReverseItr.next()
Value[]
WindowFrame.TriItr.next()
Value[]
WindowFrame.TriReverseItr.next()
Methods in org.h2.expression.analysis that return types with arguments of type ValueMethods in org.h2.expression.analysis with parameters of type ValueModifier and TypeMethodDescriptionprivate static int
WindowFrame.getIntOffset
(WindowFrameBound bound, Value[] values, SessionLocal session) private static Value
WindowFrame.getValueOffset
(WindowFrameBound bound, Value[] values, SessionLocal session) protected abstract void
DataAnalysisOperation.rememberExpressions
(SessionLocal session, Value[] array) Stores current values of expressions into the specified array.protected void
WindowFunction.rememberExpressions
(SessionLocal session, Value[] array) (package private) void
Sets the result.Method parameters in org.h2.expression.analysis with type arguments of type ValueModifier and TypeMethodDescriptionprivate void
WindowFunction.getCumeDist
(HashMap<Integer, Value> result, ArrayList<Value[]> orderedData, int rowIdColumn) private void
WindowFunction.getLeadLag
(HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, SessionLocal session) private void
WindowFunction.getNth
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private static void
WindowFunction.getNtile
(HashMap<Integer, Value> result, ArrayList<Value[]> orderedData, int rowIdColumn) protected abstract void
DataAnalysisOperation.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) Returns result of this window function or window aggregate.protected void
WindowFunction.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private void
private static void
WindowFunction.getRatioToReport
(HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) (package private) void
PartitionData.setOrderedResult
(HashMap<Integer, Value> orderedResult) Sets the ordered result. -
Uses of Value in org.h2.expression.condition
Fields in org.h2.expression.condition with type parameters of type ValueMethods in org.h2.expression.condition that return ValueModifier and TypeMethodDescription(package private) static Value
Comparison.compare
(SessionLocal session, Value l, Value r, int compareType) Compare two values.private Value
ConditionInQuery.getNullSafeValueSlow
(SessionLocal session, ResultInterface rows, Value l) BetweenPredicate.getValue
(SessionLocal session) private Value
BetweenPredicate.getValue
(SessionLocal session, Value value, Value aValue, Value bValue) BooleanTest.getValue
(SessionLocal session) CompareLike.getValue
(SessionLocal session) private Value
CompareLike.getValue
(SessionLocal session, Value left) Comparison.getValue
(SessionLocal session) ConditionAndOr.getValue
(SessionLocal session) ConditionAndOrN.getValue
(SessionLocal session) ConditionIn.getValue
(SessionLocal session) private Value
ConditionIn.getValue
(SessionLocal session, Value left) ConditionInConstantSet.getValue
(SessionLocal session) private Value
ConditionInConstantSet.getValue
(Value left, SessionLocal session) ConditionInParameter.getValue
(SessionLocal session) (package private) static Value
ConditionInParameter.getValue
(SessionLocal session, Value l, boolean not, Value value) Gets evaluated condition value.ConditionInQuery.getValue
(SessionLocal session) private Value
ConditionInQuery.getValue
(SessionLocal session, Value left) ConditionLocalAndGlobal.getValue
(SessionLocal session) ConditionNot.getValue
(SessionLocal session) ExistsPredicate.getValue
(SessionLocal session) IsJsonPredicate.getValue
(SessionLocal session) NullPredicate.getValue
(SessionLocal session) TypePredicate.getValue
(SessionLocal session) UniquePredicate.getValue
(SessionLocal session) private Value
ConditionInQuery.getValueSlow
(SessionLocal session, ResultInterface rows, Value l) Methods in org.h2.expression.condition with parameters of type ValueModifier and TypeMethodDescriptionprivate void
ConditionInConstantSet.add
(Value v, SessionLocal session) void
(package private) static Value
Comparison.compare
(SessionLocal session, Value l, Value r, int compareType) Compare two values.private Character
CompareLike.getEscapeChar
(Value e) private Value
ConditionInQuery.getNullSafeValueSlow
(SessionLocal session, ResultInterface rows, Value l) private Value
BetweenPredicate.getValue
(SessionLocal session, Value value, Value aValue, Value bValue) private boolean
private Value
CompareLike.getValue
(SessionLocal session, Value left) private Value
ConditionIn.getValue
(SessionLocal session, Value left) private Value
ConditionInConstantSet.getValue
(Value left, SessionLocal session) (package private) static Value
ConditionInParameter.getValue
(SessionLocal session, Value l, boolean not, Value value) Gets evaluated condition value.private Value
ConditionInQuery.getValue
(SessionLocal session, Value left) private boolean
private boolean
private Value
ConditionInQuery.getValueSlow
(SessionLocal session, ResultInterface rows, Value l) boolean
BetweenPredicate.getWhenValue
(SessionLocal session, Value left) boolean
BooleanTest.getWhenValue
(SessionLocal session, Value left) boolean
CompareLike.getWhenValue
(SessionLocal session, Value left) boolean
Comparison.getWhenValue
(SessionLocal session, Value left) boolean
ConditionIn.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInConstantSet.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInParameter.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInQuery.getWhenValue
(SessionLocal session, Value left) boolean
IsJsonPredicate.getWhenValue
(SessionLocal session, Value left) boolean
NullPredicate.getWhenValue
(SessionLocal session, Value left) boolean
TypePredicate.getWhenValue
(SessionLocal session, Value left) private static Expression
ConditionAndOr.optimizeConstant
(SessionLocal session, int andOrType, Value l, Expression right) -
Uses of Value in org.h2.expression.function
Methods in org.h2.expression.function that return ValueModifier and TypeMethodDescriptionprivate static Value
DateTimeFunction.addToTimeZone
(int field, long count, Value v, int type, long dateValue, long timeNanos) private static Value
DateTimeFunction.addYearsMonths
(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos) static Value
DateTimeFunction.dateadd
(SessionLocal session, int field, long count, Value v) DATEADD function.private static Value
BitFunction.getBinaryString
(int function, TypeInfo type, Value v1, Value v2) static Value
BitFunction.getBitwise
(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.private static Value
private static Value
BitFunction.getNumeric
(int function, TypeInfo type, Value v1, Value v2) ArrayFunction.getValue
(SessionLocal session) BitFunction.getValue
(SessionLocal session, Value v1, Value v2) CardinalityExpression.getValue
(SessionLocal session) CastSpecification.getValue
(SessionLocal session) CoalesceFunction.getValue
(SessionLocal session) CompatibilitySequenceValueFunction.getValue
(SessionLocal session, Value v1, Value v2) CompressFunction.getValue
(SessionLocal session, Value v1, Value v2) ConcatFunction.getValue
(SessionLocal session) CryptFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) CSVWriteFunction.getValue
(SessionLocal session) CurrentDateTimeValueFunction.getValue
(SessionLocal session) CurrentGeneralValueSpecification.getValue
(SessionLocal session) DataTypeSQLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFormatFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFunction.getValue
(SessionLocal session, Value v1, Value v2) DayMonthNameFunction.getValue
(SessionLocal session) DBObjectFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) FileFunction.getValue
(SessionLocal session) Function1_2.getValue
(SessionLocal session) protected Value
Function1_2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.Function2.getValue
(SessionLocal session) protected Value
Function2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.FunctionN.getValue
(SessionLocal session) protected Value
FunctionN.getValue
(SessionLocal session, Value v1, Value v2, Value v3) Returns the value of this function.HashFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) JavaFunction.getValue
(SessionLocal session) JsonConstructorFunction.getValue
(SessionLocal session) LengthFunction.getValue
(SessionLocal session) MathFunction.getValue
(SessionLocal session, Value v1, Value v2) MathFunction1.getValue
(SessionLocal session) MathFunction2.getValue
(SessionLocal session, Value v1, Value v2) NullIfFunction.getValue
(SessionLocal session) RandFunction.getValue
(SessionLocal session) RegexpFunction.getValue
(SessionLocal session) SessionControlFunction.getValue
(SessionLocal session) SetFunction.getValue
(SessionLocal session) SignalFunction.getValue
(SessionLocal session, Value v1, Value v2) SoundexFunction.getValue
(SessionLocal session, Value v1, Value v2) StringFunction.getValue
(SessionLocal session) StringFunction1.getValue
(SessionLocal session) StringFunction2.getValue
(SessionLocal session, Value v1, Value v2) SubstringFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) SysInfoFunction.getValue
(SessionLocal session) TableInfoFunction.getValue
(SessionLocal session, Value v1, Value v2) ToCharFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) TrimFunction.getValue
(SessionLocal session, Value v1, Value v2) TruncateValueFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) XMLFunction.getValue
(SessionLocal session) protected Value
XMLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) private static Value
StringFunction1.hexToRaw
(String s, SessionLocal session) private Value
JsonConstructorFunction.jsonArray
(SessionLocal session, Expression[] args) private Value
JsonConstructorFunction.jsonObject
(SessionLocal session, Expression[] args) private static Value
private static Value
RegexpFunction.regexpReplace
(SessionLocal session, String input, String regexp, String replacement, int position, int occurrence, String regexpMode) private static Value
RegexpFunction.regexpSubstr
(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session) private static Value
private Value
MathFunction.round
(Value v1, Value v2, RoundingMode roundingMode) private static Value
private static Value
DateTimeFunction.truncateDate
(SessionLocal session, int field, Value value) Truncate the given date-time value to the specified field.private Value
XMLFunction.xmlNode
(SessionLocal session) Methods in org.h2.expression.function with parameters of type ValueModifier and TypeMethodDescriptionprivate static Value
DateTimeFunction.addToTimeZone
(int field, long count, Value v, int type, long dateValue, long timeNanos) private static Value
DateTimeFunction.addYearsMonths
(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos) private static ValueBigint
private static ValueBoolean
static Value
DateTimeFunction.dateadd
(SessionLocal session, int field, long count, Value v) DATEADD function.private static long
DateTimeFunction.datediff
(SessionLocal session, int field, Value v1, Value v2) Calculate the number of crossed unit boundaries between two timestamps.(package private) static int
DateTimeFunction.extractDateTime
(SessionLocal session, Value date, int field) private static ValueNumeric
DateTimeFunction.extractEpoch
(SessionLocal session, Value value) private static int
DateTimeFunction.extractInteger
(SessionLocal session, Value date, int field) Get the specified field of a date, however with years normalized to positive or negative, and month starting with 1.private static int
DateTimeFunction.extractInterval
(Value date, int field) static String
DateTimeFormatFunction.formatDateTime
(SessionLocal session, Value date, String format, String locale, String timeZone) Formats a date using a format string.private static Value
BitFunction.getBinaryString
(int function, TypeInfo type, Value v1, Value v2) static Value
BitFunction.getBitwise
(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.private static Value
private static Value
BitFunction.getNumeric
(int function, TypeInfo type, Value v1, Value v2) private static String
ToCharFunction.getTimeZone
(SessionLocal session, Value value, boolean tzd) Returns time zone display name or ID for the specified date-time value.BitFunction.getValue
(SessionLocal session, Value v1, Value v2) CompatibilitySequenceValueFunction.getValue
(SessionLocal session, Value v1, Value v2) CompressFunction.getValue
(SessionLocal session, Value v1, Value v2) CryptFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DataTypeSQLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFormatFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFunction.getValue
(SessionLocal session, Value v1, Value v2) DBObjectFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) protected Value
Function1_2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.protected Value
Function2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.protected Value
FunctionN.getValue
(SessionLocal session, Value v1, Value v2, Value v3) Returns the value of this function.HashFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) MathFunction.getValue
(SessionLocal session, Value v1, Value v2) MathFunction2.getValue
(SessionLocal session, Value v1, Value v2) SignalFunction.getValue
(SessionLocal session, Value v1, Value v2) SoundexFunction.getValue
(SessionLocal session, Value v1, Value v2) StringFunction2.getValue
(SessionLocal session, Value v1, Value v2) SubstringFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) TableInfoFunction.getValue
(SessionLocal session, Value v1, Value v2) ToCharFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) TrimFunction.getValue
(SessionLocal session, Value v1, Value v2) TruncateValueFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) protected Value
XMLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) private static MessageDigest
private static MessageDigest
HashFunction.hashImpl
(Value value, MessageDigest md) private static Value
private static String
private static Value
RegexpFunction.regexpSubstr
(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session) private static Value
private Value
MathFunction.round
(Value v1, Value v2, RoundingMode roundingMode) private static Value
static String
ToCharFunction.toCharDateTime
(SessionLocal session, Value value, String format, String nlsParam) Emulates Oracle's TO_CHAR(datetime) function.private static Value
DateTimeFunction.truncateDate
(SessionLocal session, int field, Value value) Truncate the given date-time value to the specified field. -
Uses of Value in org.h2.index
Fields in org.h2.index declared as ValueModifier and TypeFieldDescriptionprivate Value[]
IndexCursor.inList
(package private) Value[]
VirtualTableCursor.values
Methods in org.h2.index that return ValueModifier and TypeMethodDescriptionIndexCondition.getCurrentValue
(SessionLocal session) Get the current value of the expression.Value[]
IndexCondition.getCurrentValueList
(SessionLocal session) Get the current value list of the expression.private Value
Methods in org.h2.index with parameters of type ValueModifier and TypeMethodDescriptionprivate int
Index.compareValues
(Value a, Value b, int sortType) private void
private Value
private SearchRow
IndexCursor.getSearchRow
(SearchRow row, int columnId, Value v, boolean max) private SearchRow
IndexCursor.getSpatialSearchRow
(SearchRow row, int columnId, Value v) private static boolean
private static void
ViewIndex.setParameter
(ArrayList<Parameter> paramList, int x, Value v) -
Uses of Value in org.h2.jdbc
Fields in org.h2.jdbc declared as ValueModifier and TypeFieldDescriptionprivate Value[]
JdbcResultSet.insertRow
private Value[]
JdbcResultSet.updateRow
(package private) Value
JdbcLob.value
Value.Methods in org.h2.jdbc that return ValueModifier and TypeMethodDescriptionprivate Value
JdbcResultSet.convertToUnknownValue
(Object x) private Value
JdbcResultSet.convertToValue
(Object x, SQLType targetSqlType) (package private) Value
JdbcConnection.createBlob
(InputStream x, long length) Create a Blob value from this input stream.(package private) Value
JdbcConnection.createClob
(Reader x, long length) Create a Clob value from this reader.private Value
JdbcResultSet.get
(int columnIndex) JdbcResultSet.getInternal
(int columnIndex) INTERNALValue[]
JdbcResultSet.getUpdateRow()
INTERNALMethods in org.h2.jdbc with parameters of type ValueModifier and TypeMethodDescription(package private) void
JdbcLob.completeWrite
(Value blob) Change the state LOB state (LOB value is set completely and available to read).private long
JdbcPreparedStatement.executeBatchElement
(Value[] set, SQLException exception) private void
JdbcResultSet.patchCurrentRow
(Value[] row) private void
JdbcPreparedStatement.setParameter
(int parameterIndex, Value value) private void
Constructors in org.h2.jdbc with parameters of type ValueModifierConstructorDescriptionJdbcArray
(JdbcConnection conn, Value value, int id) INTERNALJdbcBlob
(JdbcConnection conn, Value value, JdbcLob.State state, int id) INTERNALJdbcClob
(JdbcConnection conn, Value value, JdbcLob.State state, int id) INTERNAL(package private)
JdbcLob
(JdbcConnection conn, Value value, JdbcLob.State state, int type, int id) JdbcSQLXML
(JdbcConnection conn, Value value, JdbcLob.State state, int id) INTERNAL -
Uses of Value in org.h2.jdbc.meta
Fields in org.h2.jdbc.meta declared as ValueModifier and TypeFieldDescriptionprivate static final Value
DatabaseMetaLegacy.BACKSLASH
private static final Value
DatabaseMetaLegacy.NO
private static final Value
DatabaseMetaLocal.NO
private static final Value
DatabaseMetaLocal.NO_USAGE_RESTRICTIONS
private static final Value
DatabaseMetaLegacy.PERCENT
private static final Value
DatabaseMetaLegacy.SCHEMA_MAIN
private static final Value
DatabaseMetaLegacy.YES
private static final Value
DatabaseMetaLocal.YES
Methods in org.h2.jdbc.meta that return ValueModifier and TypeMethodDescriptionprivate Value
DatabaseMetaLegacy.getCatalogPattern
(String catalogPattern) private Value
DatabaseMetaLocal.getDataTypeName
(TypeInfo typeInfo) private Value
DatabaseMetaRemote.getIntArray
(int[] array) private Value
DatabaseMetaLegacy.getPattern
(String pattern) private static Value
DatabaseMetaLocal.getRadix
(int valueType, boolean small) private Value
DatabaseMetaLegacy.getSchemaPattern
(String pattern) private Value
(package private) Value
private Value
private Value
DatabaseMetaRemote.getStringArray
(String[] array) Methods in org.h2.jdbc.meta with parameters of type ValueModifier and TypeMethodDescriptionprivate void
DatabaseMetaLocal.addCrossReferenceResult
(SimpleResult result, Value catalog, String pkSchema, Table pkTable, String fkSchema, Table fkTable, ConstraintReferential fk) private void
DatabaseMetaLocal.addPrivilege
(SimpleResult result, Value catalogValue, Value schemaValue, Value tableValue, Value granteeValue, String right, boolean isAdmin, CompareLike columnLike, Column[] columns) private void
DatabaseMetaLocal.addPrivileges
(SimpleResult result, Value catalogValue, String schemaName, String tableName, DbObject grantee, int rightMask, CompareLike columnLike, Column[] columns) private ResultInterface
DatabaseMetaLegacy.executeQuery
(String sql, Value... args) private ResultInterface
DatabaseMetaRemote.executeQuery
(int code, Value... args) private void
DatabaseMetaLocal.getColumnsAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private void
DatabaseMetaLocal.getIndexInfo
(Value catalogValue, Value schemaValue, Table table, boolean unique, boolean approximate, SimpleResult result, Database db) private void
DatabaseMetaLocal.getProcedureColumnAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, Value specificNameValue, TypeInfo type, boolean notNull, int ordinal) private void
DatabaseMetaLocal.getProceduresAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, String comment, ValueSmallint procedureType, Value specificNameValue) private void
DatabaseMetaLocal.getPseudoColumnsAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, CompareLike columnLike, Column c) private void
DatabaseMetaLocal.getPseudoColumnsAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private void
DatabaseMetaLocal.getTablesAdd
(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, boolean synonym, HashSet<String> typesSet) static ResultInterface
DatabaseMetaServer.process
(SessionLocal session, int code, Value[] args) Process a database meta data request.private static ResultInterface
private static int[]
DatabaseMetaServer.toIntArray
(Value value) private static String[]
DatabaseMetaServer.toStringArray
(Value value) -
Uses of Value in org.h2.mode
Methods in org.h2.mode that return ValueModifier and TypeMethodDescription(package private) final Value[]
ModeFunction.getArgumentsValues
(SessionLocal session, Expression[] args) Gets values of arguments and checks them for NULL values if function returns NULL on NULL argument.private static Value
FunctionsPostgreSQL.getIndexdef
(SessionLocal session, int indexId, Value ordinalPosition, Value pretty) (package private) static Value
ModeFunction.getNullOrValue
(SessionLocal session, Expression[] args, Value[] values, int i) Get value transformed by expression, or null if i is out of range or the input value is null.FunctionsDB2Derby.getValue
(SessionLocal session) FunctionsLegacy.getValue
(SessionLocal session) FunctionsMSSQLServer.getValue
(SessionLocal session) FunctionsMySQL.getValue
(SessionLocal session) FunctionsOracle.getValue
(SessionLocal session) FunctionsPostgreSQL.getValue
(SessionLocal session) OnDuplicateKeyValues.getValue
(SessionLocal session) Regclass.getValue
(SessionLocal session) private static Value
FunctionsPostgreSQL.relationSize
(SessionLocal session, Value tableOidOrName) Methods in org.h2.mode with parameters of type ValueModifier and TypeMethodDescriptionprivate static Value
FunctionsPostgreSQL.getIndexdef
(SessionLocal session, int indexId, Value ordinalPosition, Value pretty) (package private) static Value
ModeFunction.getNullOrValue
(SessionLocal session, Expression[] args, Value[] values, int i) Get value transformed by expression, or null if i is out of range or the input value is null.private static Value
FunctionsPostgreSQL.relationSize
(SessionLocal session, Value tableOidOrName) static int
FunctionsMySQL.unixTimestamp
(SessionLocal session, Value value) Get the seconds since 1970-01-01 00:00:00 UTC of the given timestamp. -
Uses of Value in org.h2.mvstore.db
Subclasses of Value in org.h2.mvstore.dbFields in org.h2.mvstore.db declared as ValueModifier and TypeFieldDescriptionprivate Value[]
MVSortedTempResult.current
Current value for theMVSortedTempResult.next()
method.Fields in org.h2.mvstore.db with type parameters of type ValueModifier and TypeFieldDescriptionprivate final TransactionMap
<SearchRow, Value> MVSecondaryIndex.dataMap
private final TransactionMap
<Spatial, Value> MVSpatialIndex.dataMap
MVSortedTempResult.index
Optional index.private final TransactionMap.TMIterator
<SearchRow, Value, SearchRow> MVSecondaryIndex.MVStoreCursor.it
private final TransactionMap
<Spatial, Value> MVSpatialIndex.FindBoundsCursor.map
private final TransactionMap
<Spatial, Value> MVSpatialIndex.SpatialKeyIterator.map
private final MVMap
<LobStorageMap.BlobReference, Value> LobStorageMap.refMap
The reference map.private final MVRTreeMap
<VersionedValue<Value>> MVSpatialIndex.spatialMap
Methods in org.h2.mvstore.db that return ValueModifier and TypeMethodDescriptionValue[]
NullValueDataType.createStorage
(int size) Value[]
ValueDataType.createStorage
(int size) (package private) Value
MVSpatialIndex.FindBoundsCursor.getBounds()
MVSpatialIndex.getBounds
(SessionLocal session) Returns the minimum bounding box that encloses all keys.MVSpatialIndex.getEstimatedBounds
(SessionLocal session) Returns the estimated minimum bounding box that encloses all keys.private Value[]
Reorder values back if required.Value[]
MVPlainTempResult.next()
Value[]
MVSortedTempResult.next()
NullValueDataType.read
(ByteBuffer buff) ValueDataType.read
(ByteBuffer buff) private Value[]
ValueDataType.readArrayElements
(ByteBuffer buff, TypeInfo elementType) (package private) Value
ValueDataType.readValue
(ByteBuffer buff, TypeInfo columnType) Read a value.Methods in org.h2.mvstore.db that return types with arguments of type ValueModifier and TypeMethodDescriptionprivate TransactionMap
<SearchRow, Value> MVSecondaryIndex.getMap
(SessionLocal session) Get the map to store the data.private TransactionMap
<Spatial, Value> MVSpatialIndex.getMap
(SessionLocal session) Get the map to store the data.MVSecondaryIndex.getMVMap()
MVSpatialIndex.getMVMap()
Methods in org.h2.mvstore.db with parameters of type ValueModifier and TypeMethodDescriptionint
int
int
NullValueDataType.binarySearch
(Value key, Object storage, int size, int initialGuess) int
int
int
SpatialKey.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueDataType.compareValues
(Value a, Value b, int sortType) Compares the specified values.boolean
boolean
private ValueRow
Reorder values if required and convert them intoValueRow
.int
int
private Value[]
Reorder values back if required.int
int
void
NullValueDataType.write
(WriteBuffer buff, Value obj) void
ValueDataType.write
(WriteBuffer buff, Value v) private static void
ValueDataType.writeBinary
(byte type, WriteBuffer buff, Value v) Method parameters in org.h2.mvstore.db with type arguments of type ValueModifier and TypeMethodDescriptionprivate void
MVSecondaryIndex.checkUnique
(boolean repeatableRead, TransactionMap<SearchRow, Value> map, SearchRow row, long newKey) Constructor parameters in org.h2.mvstore.db with type arguments of type ValueModifierConstructorDescription(package private)
FindBoundsCursor
(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId) (package private)
FindBoundsCursor
(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId) (package private)
MVStoreCursor
(SessionLocal session, TransactionMap.TMIterator<SearchRow, Value, SearchRow> it, MVTable mvTable) (package private)
SpatialKeyIterator
(TransactionMap<Spatial, Value> map, Iterator<Spatial> iterator, boolean includeUncommitted) -
Uses of Value in org.h2.result
Subclasses of Value in org.h2.resultModifier and TypeClassDescriptionclass
The default implementation of a row in a table.class
Represents a row in a table.class
The base class for rows stored in a table, and for partial rows stored in the index.class
A simple row that contains data for only one column.final class
Class Sparse.Fields in org.h2.result declared as ValueModifier and TypeFieldDescription(package private) Value[]
FetchedResult.currentRow
private Value[]
LocalResult.currentRow
protected final Value[]
DefaultRow.data
The values of the row (one entry per column).private Value
SimpleRowValue.data
(package private) Value[]
FetchedResult.nextRow
Fields in org.h2.result with type parameters of type ValueModifier and TypeFieldDescriptionprivate final ArrayList
<Map<SimpleResult.Column, Value>> MergedResult.data
Methods in org.h2.result that return ValueModifier and TypeMethodDescriptionfinal Value[]
FetchedResult.currentRow()
Value[]
LocalResult.currentRow()
Value[]
ResultInterface.currentRow()
Get the current row.Value[]
ResultWithPaddedStrings.currentRow()
Value[]
SimpleResult.currentRow()
protected abstract Value[]
LazyResult.fetchNextRow()
Fetch next row or null if none available.DefaultRow.getValue
(int i) abstract Value
SearchRow.getValue
(int index) Get the value for the columnSimpleRowValue.getValue
(int idx) Sparse.getValue
(int i) Value[]
DefaultRow.getValueList()
abstract Value[]
Row.getValueList()
Get values.Value[]
ResultExternal.next()
Get the next row from the result.Value[]
Re-reads a row from the database and updates the values in the array.Methods in org.h2.result that return types with arguments of type ValueModifier and TypeMethodDescriptionSortOrder.getRowValueComparator()
Returns comparator for row values.Methods in org.h2.result with parameters of type ValueModifier and TypeMethodDescriptionvoid
Add a row to this object.int
Add a row to this object.void
Add the row to the result set.void
private void
LocalResult.addRowInternal
(Value... values) private void
int
Compare two expression lists.int
SearchRow.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) boolean
Check if the given row exists in this object.boolean
LocalResult.containsDistinct
(Value[] values) Check if this result set contains the given row.abstract Row
Create a new row.void
Delete the given row in the database.static Row
Creates a new row.static Row
Creates a new row with the specified key.private ValueRow
LocalResult.getDistinctRow
(Value[] values) void
Insert a new row into the database.Value[]
Re-reads a row from the database and updates the values in the array.void
LocalResult.removeDistinct
(Value[] values) Remove the row from the result set if it exists.int
Remove the row with the given values from this object if such a row exists.private void
UpdatableRow.setKey
(PreparedStatement prep, int start, Value[] current) void
abstract void
Set the value for given columnvoid
void
void
Update a row in the database.Constructors in org.h2.result with parameters of type Value -
Uses of Value in org.h2.schema
Fields in org.h2.schema declared as ValueMethods in org.h2.schema that return ValueModifier and TypeMethodDescriptionSequence.getNext
(SessionLocal session) Get the next value for this sequence.FunctionAlias.JavaMethod.getValue
(SessionLocal session, Expression[] args, boolean columnList) Call the user-defined function and return the value.Methods in org.h2.schema with parameters of type ValueModifier and TypeMethodDescriptionvoid
Domain.checkConstraints
(SessionLocal session, Value value) Check the specified value.void
-
Uses of Value in org.h2.server.pg
Methods in org.h2.server.pg with parameters of type ValueModifier and TypeMethodDescriptionprivate void
PgServerThread.writeDataColumn
(Value v, int pgType, boolean text) -
Uses of Value in org.h2.table
Fields in org.h2.table declared as ValueModifier and TypeFieldDescription(package private) final Value
InformationSchemaTable.DataTypeInformation.characterPrecision
CHARACTER_MAXIMUM_LENGTH and CHARACTER_OCTET_LENGTH.(package private) final Value
InformationSchemaTable.DataTypeInformation.datetimePrecision
DATETIME_PRECISION.(package private) final Value
InformationSchemaTable.DataTypeInformation.declaredNumericPrecision
DECLARED_NUMERIC_PRECISION.(package private) final Value
InformationSchemaTable.DataTypeInformation.declaredNumericScale
DECLARED_NUMERIC_SCALE.(package private) final Value
InformationSchemaTable.DataTypeInformation.geometrySrid
GEOMETRY_SRID.(package private) final Value
InformationSchemaTable.DataTypeInformation.intervalPrecision
INTERVAL_PRECISION.(package private) final Value
InformationSchemaTable.DataTypeInformation.intervalType
INTERVAL_TYPE.(package private) final Value
InformationSchemaTable.DataTypeInformation.maximumCardinality
MAXIMUM_CARDINALITY.(package private) final Value
InformationSchemaTable.DataTypeInformation.numericPrecision
NUMERIC_PRECISION.(package private) final Value
InformationSchemaTable.DataTypeInformation.numericPrecisionRadix
NUMERIC_PRECISION_RADIX.(package private) final Value
InformationSchemaTable.DataTypeInformation.numericScale
NUMERIC_SCALE.Methods in org.h2.table that return ValueModifier and TypeMethodDescriptionColumn.convert
(CastDataProvider provider, Value v) Convert a value to this column's type without precision and scale checks.private Value
Column.getDefaultOrGenerated
(SessionLocal session, Row row) private Value
TableFilter.getDelegatedValue
(Column column) Get the value for the given column.(package private) Value
Column.validateConvertUpdateSequence
(SessionLocal session, Value value, Row row) Validate the value, convert it if required, and update the sequence value if required.Methods in org.h2.table with parameters of type ValueModifier and TypeMethodDescriptionprivate void
InformationSchemaTable.checkConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) protected final boolean
MetaTable.checkIndex
(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.private void
InformationSchemaTable.columnPrivileges
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.columns
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) int
Table.compareValues
(CastDataProvider provider, Value a, Value b) Compare two values with the current comparison mode.private void
InformationSchemaTable.constants
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.constraintColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.constraintColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, Constraint constraint) Column.convert
(CastDataProvider provider, Value v) Convert a value to this column's type without precision and scale checks.Create a new row for this table.private void
InformationSchemaTable.domainConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.domains
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private DbException
Column.getDataConversionError
(Value value, DbException cause) private void
InformationSchemaTable.indexes
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, boolean columns) private void
InformationSchemaTable.keyColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.referentialConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.rights
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows) private void
InformationSchemaTable.sequences
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tableConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tablePrivileges
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tables
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.triggers
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) (package private) Value
Column.validateConvertUpdateSequence
(SessionLocal session, Value value, Row row) Validate the value, convert it if required, and update the sequence value if required.private void
InformationSchemaTable.views
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) Method parameters in org.h2.table with type arguments of type ValueModifier and TypeMethodDescriptionTableLink.execute
(String sql, ArrayList<Value> params, boolean reusePrepared, SessionLocal session) Execute a SQL statement using the given parameters.Constructors in org.h2.table with parameters of type ValueModifierConstructorDescriptionprivate
DataTypeInformation
(String dataType, Value characterPrecision, Value numericPrecision, Value numericPrecisionRadix, Value numericScale, Value datetimePrecision, Value intervalPrecision, Value intervalType, Value maximumCardinality, boolean hasCharsetAndCollation, String declaredDataType, Value declaredNumericPrecision, Value declaredNumericScale, String geometryType, Value geometrySrid) -
Uses of Value in org.h2.tools
Methods in org.h2.tools with parameters of type ValueModifier and TypeMethodDescriptionprivate void
Recover.getSQL
(StringBuilder builder, String column, Value v) -
Uses of Value in org.h2.util
Methods in org.h2.util that return ValueModifier and TypeMethodDescriptionstatic Value
DateTimeUtils.dateTimeToValue
(Value original, long dateValue, long timeNanos) Creates a new date-time value with the same type as original value.static Value
LegacyDateTimeUtils.legacyObjectToValue
(CastDataProvider session, Object x) Convert a legacy Java object to a value.static Value
DateTimeUtils.parseTimestamp
(String s, CastDataProvider provider, boolean withTimeZone) Parses timestamp value from the specified string.Methods in org.h2.util with parameters of type ValueModifier and TypeMethodDescriptionstatic long[]
DateTimeUtils.dateAndTimeFromValue
(Value value, CastDataProvider provider) Extracts date value and nanos of day from the specified value.static Value
DateTimeUtils.dateTimeToValue
(Value original, long dateValue, long timeNanos) Creates a new date-time value with the same type as original value.static void
JdbcUtils.set
(PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn) Set a value as a parameter in a prepared statement.private static void
JdbcUtils.setOther
(PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn) static Date
LegacyDateTimeUtils.toDate
(CastDataProvider provider, TimeZone timeZone, Value value) Get the date value converted to the specified time zone.static Time
LegacyDateTimeUtils.toTime
(CastDataProvider provider, TimeZone timeZone, Value value) Get the time value converted to the specified time zone.static Timestamp
LegacyDateTimeUtils.toTimestamp
(CastDataProvider provider, TimeZone timeZone, Value value) Get the timestamp value converted to the specified time zone.static Duration
JSR310Utils.valueToDuration
(Value value) Converts a value to a Duration.static Instant
JSR310Utils.valueToInstant
(Value value, CastDataProvider provider) Converts a value to a Instant.static <T> T
LegacyDateTimeUtils.valueToLegacyType
(Class<T> type, Value value, CastDataProvider provider) Converts the specified value to an object of the specified legacy type.static LocalDate
JSR310Utils.valueToLocalDate
(Value value, CastDataProvider provider) Converts a value to a LocalDate.static LocalDateTime
JSR310Utils.valueToLocalDateTime
(Value value, CastDataProvider provider) Converts a value to a LocalDateTime.static LocalTime
JSR310Utils.valueToLocalTime
(Value value, CastDataProvider provider) Converts a value to a LocalTime.static OffsetDateTime
JSR310Utils.valueToOffsetDateTime
(Value value, CastDataProvider provider) Converts a value to a OffsetDateTime.static OffsetTime
JSR310Utils.valueToOffsetTime
(Value value, CastDataProvider provider) Converts a value to a OffsetTime.static Period
JSR310Utils.valueToPeriod
(Value value) Converts a value to a Period.static ZonedDateTime
JSR310Utils.valueToZonedDateTime
(Value value, CastDataProvider provider) Converts a value to a ZonedDateTime. -
Uses of Value in org.h2.util.json
Methods in org.h2.util.json that return ValueModifier and TypeMethodDescriptionstatic Value
JsonConstructorUtils.jsonObjectFinish
(ByteArrayOutputStream baos, int flags) Appends trailing closing brace to the specified string builder with a JSON object, validates it, and converts to a JSON value.Methods in org.h2.util.json with parameters of type ValueModifier and TypeMethodDescriptionstatic void
JsonConstructorUtils.jsonArrayAppend
(ByteArrayOutputStream baos, Value value, int flags) Appends a value to a JSON array in the specified output stream.static void
JsonConstructorUtils.jsonObjectAppend
(ByteArrayOutputStream baos, String key, Value value) Appends a value to a JSON object in the specified string builder. -
Uses of Value in org.h2.value
Subclasses of Value in org.h2.valueModifier and TypeClassDescriptionfinal class
Implementation of the ARRAY data type.(package private) class
Base class for BigDecimal-based values.final class
Implementation of the BIGINT data type.final class
Implementation of the BINARY data type.final class
Implementation of the BINARY LARGE OBJECT data type.final class
Implementation of the BOOLEAN data type.(package private) class
Base implementation of byte array based data types.final class
Implementation of the CHARACTER data type.final class
Implementation of the CHARACTER LARGE OBJECT data type.class
Base class for ARRAY and ROW values.final class
Implementation of the DATE data type.final class
Implementation of the DECFLOAT data type.final class
Implementation of the DOUBLE PRECISION data type.final class
ENUM value.class
Base implementation of the ENUM data type.final class
Implementation of the GEOMETRY data type.final class
Implementation of the INTEGER data type.final class
Implementation of the INTERVAL data type.final class
Implementation of the JAVA_OBJECT data type.final class
Implementation of the JSON data type.class
A implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.final class
Implementation of NULL.final class
Implementation of the NUMERIC data type.final class
Implementation of the REAL data type.final class
Row value.final class
Implementation of the SMALLINT data type.(package private) class
Base implementation of String based data types.final class
Implementation of the TIME data type.final class
Implementation of the TIMESTAMP data type.final class
Implementation of the TIMESTAMP WITH TIME ZONE data type.final class
Implementation of the TIME WITH TIME ZONE data type.final class
Implementation of the TINYINT data type.final class
Implementation of the UUID data type.final class
Implementation of the BINARY VARYING data type.final class
Implementation of the CHARACTER VARYING data type.final class
Implementation of the VARCHAR_IGNORECASE data type.Fields in org.h2.value declared as ValueModifier and TypeFieldDescriptionstatic final Value[]
Value.EMPTY_VALUES
Empty array of values.(package private) final Value[]
ValueCollectionBase.values
Values.Methods in org.h2.value that return ValueModifier and TypeMethodDescriptionAdd a value and return the result.private static Value
ValueToObjectConverter.arrayToValue
(Session session, Object x) (package private) static Value
Check if a value is in the cache that is equal to this value.final Value
Value.castTo
(TypeInfo targetType, CastDataProvider provider) Cast a value to the specified type.final Value
Value.convertForAssignTo
(TypeInfo targetType, CastDataProvider provider, Object column) Cast a value to the specified type for assignment.final Value
Value.convertTo
(int targetType) Convert a value to the specified type without taking scale and precision into account.final Value
Value.convertTo
(int targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.final Value
Convert a value to the specified type without taking scale and precision into account.final Value
Value.convertTo
(TypeInfo targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.private Value
Value.convertTo
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) Convert a value to the specified type.final Value
Value.convertTo
(TypeInfo targetType, CastDataProvider provider, Object column) Convert a value to the specified type without taking scale and precision into account.private Value
Value.convertToRow
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private Value
Value.convertToVarchar
(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private Value
Value.convertToVarcharIgnoreCase
(TypeInfo targetType, int conversionMode, Object column) Divide by a value and return the result.static Value
ValueGeometry.fromEnvelope
(double[] envelope) Creates a geometry value for the given envelope.static Value
Get or create a VARCHAR value for the given string.static Value
ValueVarchar.get
(String s, CastDataProvider provider) Get or create a VARCHAR value for the given string.ValueGeometry.getEnvelopeUnion
(ValueGeometry r) Get the union.Value[]
ValueCollectionBase.getList()
Take the modulus with a value and return the result.Multiply with a value and return the result.Value.negate()
Return -value if this value support arithmetic operations.ValueBigint.negate()
ValueBoolean.negate()
ValueDecfloat.negate()
ValueDouble.negate()
ValueInteger.negate()
ValueInterval.negate()
ValueNumeric.negate()
ValueReal.negate()
ValueSmallint.negate()
ValueTinyint.negate()
static Value
ValueToObjectConverter.objectToValue
(Session session, Object x, int type) Convert a Java object to a value.private static Value
ValueToObjectConverter.otherToValue
(Session session, Object x) private Value[]
Transfer.readArrayElements
(int len, TypeInfo elementType) Read a value.static Value
ValueToObjectConverter.readValue
(Session session, JdbcResultSet rs, int columnIndex) Read a value from the given result set.static Value
Read a value from the given result set.private static Value
ValueToObjectConverter2.readValueOther
(Session session, ResultSet rs, int columnIndex, int type) (package private) static Value
ValueToObjectConverter.resultSetToValue
(Session session, ResultSet rs) Subtract a value and return the result.Methods in org.h2.value with parameters of type ValueModifier and TypeMethodDescriptionAdd a value and return the result.(package private) static Value
Check if a value is in the cache that is equal to this value.int
final int
Value.compareTo
(Value v, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.private int
Value.compareToNotNullable
(Value v, CastDataProvider provider, CompareMode compareMode) abstract int
Value.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) Compare this value against another value given that the values are of the same data type.int
ValueArray.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueBigint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueBlob.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueBoolean.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) final int
ValueBytesBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueChar.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueClob.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueDate.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueDecfloat.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueDouble.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueEnumBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueInteger.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueInterval.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueNull.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueNumeric.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueReal.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueRow.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueSmallint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueStringBase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
ValueTime.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimestamp.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimestampTimeZone.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTimeTimeZone.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueTinyint.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueUuid.compareTypeSafe
(Value o, CompareMode mode, CastDataProvider provider) int
ValueVarcharIgnoreCase.compareTypeSafe
(Value v, CompareMode mode, CastDataProvider provider) int
Value.compareWithNull
(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.int
ValueCollectionBase.compareWithNull
(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Divide by a value and return the result.static ValueArray
ValueArray.get
(TypeInfo componentType, Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueArray
ValueArray.get
(Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueRow
ValueRow.get
(ExtTypeInfoRow extTypeInfo, Value[] list) Get or create a typed row value for the given value array.static ValueRow
Get or create a typed row value for the given value array.static ValueRow
Get or create a row value for the given value array.static ExtTypeInfoEnum
ExtTypeInfoEnum.getEnumeratorsForBinaryOperation
(Value left, Value right) Returns enumerators for the two specified values for a binary operation.Take the modulus with a value and return the result.Multiply with a value and return the result.Subtract a value and return the result.private static Object
ValueToObjectConverter.valueToArray
(Class<?> type, Value value, JdbcConnection conn) static Object
ValueToObjectConverter.valueToDefaultArray
(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified array value to array of default Java objects for its type.static Object
ValueToObjectConverter.valueToDefaultObject
(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified value to the default Java object for its type.static <T> T
ValueToObjectConverter.valueToObject
(Class<T> type, Value value, JdbcConnection conn) Converts the specified value to an object of the specified type.private static Object
ValueToObjectConverter.valueToOther
(Class<?> type, Value value, JdbcConnection conn) void
Transfer.writeValue
(Value v) Write a value.Constructors in org.h2.value with parameters of type ValueModifierConstructorDescriptionprivate
ValueArray
(TypeInfo componentType, Value[] list, CastDataProvider provider) (package private)
ValueCollectionBase
(Value[] values) private