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) ValueToken.BigintToken.value(CastDataProvider provider) (package private) ValueToken.BinaryStringToken.value(CastDataProvider provider) (package private) ValueToken.CharacterStringToken.value(CastDataProvider provider) (package private) ValueToken.IntegerToken.value(CastDataProvider provider) (package private) ValueToken.value(CastDataProvider provider) (package private) ValueToken.ValueToken.value(CastDataProvider provider) Methods in org.h2.command with parameters of type ValueModifier and TypeMethodDescriptionvoidMethod parameters in org.h2.command with type arguments of type ValueModifier and TypeMethodDescriptionprivate static PreparedParser.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.valuesMethods 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) ValueSetClauseList.SetMultiple.update(SessionLocal session) (package private) ValueSetClauseList.SetSimple.update(SessionLocal session) (package private) ValueSetClauseList.UpdateAction.update(SessionLocal session) Methods in org.h2.command.dml with parameters of type ValueModifier and TypeMethodDescriptionvoidprivate booleanInsert.handleOnDuplicate(DbException de, Value[] currentRow) private static TimeZoneProviderSet.parseTimeZone(Value v) private intScriptCommand.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.currentRowprivate Value[]Query.lastParametersprivate Value[]Select.LazyResultGroupSorted.previousKeyValuesFields in org.h2.command.query with type parameters of type ValueModifier and TypeFieldDescriptionprivate final HashMap<DataAnalysisOperation, TreeMap<Value, PartitionData>> SelectGroups.windowPartitionDataMaps 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 PartitionDataSelectGroups.getWindowExprData(DataAnalysisOperation expr, Value partitionKey) Get the window data for the specified expression.private booleanSelect.isHavingNullOrFalse(Value[] row) private Value[]Select.rowForResult(Value[] row, int columnCount) Removes HAVING and QUALIFY columns from the row.private booleanQuery.sameResultAsLast(Value[] params, Value[] lastParams, long lastEval) final voidSelectGroups.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 TypeMethodDescriptionvoidConstraintDomain.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 ValueSessionLocal.lastIdentity(package private) ValueSessionLocal.RowNumberAndValue.nextValueFields in org.h2.engine with type parameters of type ValueModifier and TypeFieldDescriptionprivate WeakHashMap<Sequence, Value> SessionLocal.currentValueForSessionLocal.variablesMethods 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 TypeMethodDescriptionbooleanCheck if two values are equal with the current comparison mode.intCompare two values with the current comparison mode.intSessionLocal.compareTypeSafe(Value a, Value b) Compare two values with the current comparison mode.intSessionLocal.compareWithNull(Value a, Value b, boolean forEquality) Compare two values with the current comparison mode.voidSessionLocal.setLastIdentity(Value last) voidSessionLocal.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 ValueVariable.lastValueprivate ValueSubquery.nullValueprivate ValueParameter.valueprivate ValueParameterRemote.value(package private) final ValueValueExpression.valueThe value.Methods in org.h2.expression that return ValueModifier and TypeMethodDescriptionprivate ValueIntervalOperation.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 ValueConcatenationOperation.getValue(SessionLocal session, int l) private ValueConcatenationOperation.getValue(SessionLocal session, Value l, Value r) DomainValueExpression.getValue(SessionLocal session) abstract ValueExpression.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 ValueSubquery.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 ValueExpressionCreate a new expression with the given value and type.static ValueExpressionCreate a new expression with the given value.static ValueExpressionValueExpression.getBoolean(Value value) Create a new expression with the given boolean value.private ValueIntervalOperation.getDateTimeWithInterval(SessionLocal session, Value l, Value r, int lType, int rType) private static ValueExpressionprivate longIntervalOperation.getTimeWithInterval(Value r, long nanos) static ValueExpressionTypedValueExpression.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 ValueConcatenationOperation.getValue(SessionLocal session, Value l, Value r) Returns the value with applied format.booleanExpression.getWhenValue(SessionLocal session, Value left) Return the resulting value of when operand for the current row.private static booleanprivate static BigIntegerIntervalOperation.nanosFromValue(SessionLocal session, Value v) static intTimeZoneOperation.parseInterval(Value interval) Parses a daytime interval as time zone offset.private static intTimeZoneOperation.parseTimeZone(Value b, long dateValue, long timeNanos, int offsetSeconds, boolean allowTimeZoneName) voidvoidvoidSet the value of the parameter.voidConstructors in org.h2.expression with parameters of type ValueModifierConstructorDescriptionprivateTypedValueExpression(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 ValueAggregateDataCollecting.sharedprivate ValueAggregateDataDefault.valueFields in org.h2.expression.aggregate with type parameters of type ValueModifier and TypeFieldDescription(package private) Collection<Value> AggregateDataCollecting.valuesprivate TreeMap<Value, LongDataCounter> AggregateDataDistinctWithCounts.valuesMethods in org.h2.expression.aggregate that return ValueModifier and TypeMethodDescriptionprivate static ValueAggregate.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 ValueAggregate.getCumeDist(Value[] ordered, Value arg, Comparator<Value> sort) (package private) static ValuePercentile.getFromIndex(SessionLocal session, Expression expression, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the index.private ValueAggregate.getHistogram(SessionLocal session, AggregateData data) private ValueAggregate.getHypotheticalSet(SessionLocal session, AggregateData data) private ValueAggregate.getListagg(SessionLocal session, AggregateData data) private ValueAggregate.getMode(SessionLocal session, AggregateData data) private ValueAggregate.getRank(Value[] ordered, Value arg, Comparator<Value> sort) private ValueAggregate.getSecondValue(SessionLocal session, Value[] remembered) (package private) ValueAggregateDataCollecting.getSharedArgument()Returns value of a shared argument.Aggregate.getValue(SessionLocal session) (package private) abstract ValueAggregateData.getValue(SessionLocal session) Get the aggregate result.(package private) ValueAggregateDataAvg.getValue(SessionLocal session) (package private) ValueAggregateDataCollecting.getValue(SessionLocal session) (package private) ValueAggregateDataCorr.getValue(SessionLocal session) (package private) ValueAggregateDataCount.getValue(SessionLocal session) (package private) ValueAggregateDataCovar.getValue(SessionLocal session) (package private) ValueAggregateDataDefault.getValue(SessionLocal session) (package private) ValueAggregateDataDistinctWithCounts.getValue(SessionLocal session) (package private) ValueAggregateDataEnvelope.getValue(SessionLocal session) (package private) ValueAggregateDataStdVar.getValue(SessionLocal session) (package private) static ValuePercentile.getValue(SessionLocal session, Value[] array, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the array of values.private ValueAggregate.getValueQuick(SessionLocal session) private static ValuePercentile.interpolate(Value v0, Value v1, BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode) private ValueAggregate.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 voidAggregateData.add(SessionLocal session, Value v) Add a value to this aggregate.(package private) voidAggregateDataAvg.add(SessionLocal session, Value v) (package private) final voidAggregateDataBinarySet.add(SessionLocal session, Value v) (package private) abstract voidAggregateDataBinarySet.add(SessionLocal session, Value yValue, Value xValue) (package private) voidAggregateDataCollecting.add(SessionLocal session, Value v) (package private) voidAggregateDataCorr.add(SessionLocal session, Value yValue, Value xValue) (package private) voidAggregateDataCount.add(SessionLocal session, Value v) (package private) voidAggregateDataCovar.add(SessionLocal session, Value yValue, Value xValue) (package private) voidAggregateDataDefault.add(SessionLocal session, Value v) (package private) voidAggregateDataDistinctWithCounts.add(SessionLocal session, Value v) (package private) voidAggregateDataEnvelope.add(SessionLocal session, Value v) (package private) voidAggregateDataStdVar.add(SessionLocal session, Value v) private static ValueAggregate.getCumeDist(Value[] ordered, Value arg, Comparator<Value> sort) private StringBuilderAggregate.getListaggError(Value[] array, String separator) private StringAggregate.getListaggItem(Value v) private StringBuilderAggregate.getListaggTruncate(Value[] array, String separator, String filter, boolean withoutCount) private ValueAggregate.getRank(Value[] ordered, Value arg, Comparator<Value> sort) private ValueAggregate.getSecondValue(SessionLocal session, Value[] remembered) (package private) static ValuePercentile.getValue(SessionLocal session, Value[] array, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the array of values.private static ValuePercentile.interpolate(Value v0, Value v1, BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode) private booleanprivate intAbstractAggregate.processGroup(HashMap<Integer, Value> result, Value r, ArrayList<Value[]> ordered, int rowIdColumn, int i, int size, boolean grouped) protected voidAggregate.rememberExpressions(SessionLocal session, Value[] array) protected voidJavaAggregate.rememberExpressions(SessionLocal session, Value[] array) (package private) voidAggregateDataCollecting.setSharedArgument(Value shared) Sets value of a shared argument.private voidAggregate.sortWithOrderBy(Value[] array) private ValueAggregate.updateCollecting(SessionLocal session, Value v, Value[] remembered) private voidAggregate.updateData(SessionLocal session, AggregateData data, Value v, Value[] remembered) private voidJavaAggregate.updateData(SessionLocal session, Object aggregateData, Value[] remembered) protected abstract voidAbstractAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) Updates the provided aggregate data from the remembered expressions.protected voidAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) protected voidJavaAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) Method parameters in org.h2.expression.aggregate with type arguments of type ValueModifier and TypeMethodDescriptionprivate voidAbstractAggregate.aggregateFastPartition(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private voidAbstractAggregate.aggregateFastPartitionInReverse(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private voidAbstractAggregate.aggregateWholePartition(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private static ValueAggregate.getCumeDist(Value[] ordered, Value arg, Comparator<Value> sort) protected voidAbstractAggregate.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private ValueAggregate.getRank(Value[] ordered, Value arg, Comparator<Value> sort) private intAbstractAggregate.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 ValueDataAnalysisOperation.getAggregatedValue(SessionLocal session, Object aggregateData) Returns aggregated value.protected ValueWindowFunction.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 ValueWindowFunction.getNthValue(Iterator<Value[]> iterator, int number, boolean ignoreNulls) private ValueDataAnalysisOperation.getOrderedResult(SessionLocal session, SelectGroups groupData, PartitionData partition, Object data) (package private) ValuePartitionData.getResult()Returns the result.DataAnalysisOperation.getValue(SessionLocal session) private static ValueWindowFrame.getValueOffset(WindowFrameBound bound, Value[] values, SessionLocal session) private ValueDataAnalysisOperation.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 intWindowFrame.getIntOffset(WindowFrameBound bound, Value[] values, SessionLocal session) private static ValueWindowFrame.getValueOffset(WindowFrameBound bound, Value[] values, SessionLocal session) protected abstract voidDataAnalysisOperation.rememberExpressions(SessionLocal session, Value[] array) Stores current values of expressions into the specified array.protected voidWindowFunction.rememberExpressions(SessionLocal session, Value[] array) (package private) voidSets the result.Method parameters in org.h2.expression.analysis with type arguments of type ValueModifier and TypeMethodDescriptionprivate voidWindowFunction.getCumeDist(HashMap<Integer, Value> result, ArrayList<Value[]> orderedData, int rowIdColumn) private voidWindowFunction.getLeadLag(HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, SessionLocal session) private voidWindowFunction.getNth(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private static voidWindowFunction.getNtile(HashMap<Integer, Value> result, ArrayList<Value[]> orderedData, int rowIdColumn) protected abstract voidDataAnalysisOperation.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) Returns result of this window function or window aggregate.protected voidWindowFunction.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private voidprivate static voidWindowFunction.getRatioToReport(HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) (package private) voidPartitionData.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 ValueComparison.compare(SessionLocal session, Value l, Value r, int compareType) Compare two values.private ValueConditionInQuery.getNullSafeValueSlow(SessionLocal session, ResultInterface rows, Value l) BetweenPredicate.getValue(SessionLocal session) private ValueBetweenPredicate.getValue(SessionLocal session, Value value, Value aValue, Value bValue) BooleanTest.getValue(SessionLocal session) CompareLike.getValue(SessionLocal session) private ValueCompareLike.getValue(SessionLocal session, Value left) Comparison.getValue(SessionLocal session) ConditionAndOr.getValue(SessionLocal session) ConditionAndOrN.getValue(SessionLocal session) ConditionIn.getValue(SessionLocal session) private ValueConditionIn.getValue(SessionLocal session, Value left) ConditionInConstantSet.getValue(SessionLocal session) private ValueConditionInConstantSet.getValue(Value left, SessionLocal session) ConditionInParameter.getValue(SessionLocal session) (package private) static ValueConditionInParameter.getValue(SessionLocal session, Value l, boolean not, Value value) Gets evaluated condition value.ConditionInQuery.getValue(SessionLocal session) private ValueConditionInQuery.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 ValueConditionInQuery.getValueSlow(SessionLocal session, ResultInterface rows, Value l) Methods in org.h2.expression.condition with parameters of type ValueModifier and TypeMethodDescriptionprivate voidConditionInConstantSet.add(Value v, SessionLocal session) void(package private) static ValueComparison.compare(SessionLocal session, Value l, Value r, int compareType) Compare two values.private CharacterCompareLike.getEscapeChar(Value e) private ValueConditionInQuery.getNullSafeValueSlow(SessionLocal session, ResultInterface rows, Value l) private ValueBetweenPredicate.getValue(SessionLocal session, Value value, Value aValue, Value bValue) private booleanprivate ValueCompareLike.getValue(SessionLocal session, Value left) private ValueConditionIn.getValue(SessionLocal session, Value left) private ValueConditionInConstantSet.getValue(Value left, SessionLocal session) (package private) static ValueConditionInParameter.getValue(SessionLocal session, Value l, boolean not, Value value) Gets evaluated condition value.private ValueConditionInQuery.getValue(SessionLocal session, Value left) private booleanprivate booleanprivate ValueConditionInQuery.getValueSlow(SessionLocal session, ResultInterface rows, Value l) booleanBetweenPredicate.getWhenValue(SessionLocal session, Value left) booleanBooleanTest.getWhenValue(SessionLocal session, Value left) booleanCompareLike.getWhenValue(SessionLocal session, Value left) booleanComparison.getWhenValue(SessionLocal session, Value left) booleanConditionIn.getWhenValue(SessionLocal session, Value left) booleanConditionInConstantSet.getWhenValue(SessionLocal session, Value left) booleanConditionInParameter.getWhenValue(SessionLocal session, Value left) booleanConditionInQuery.getWhenValue(SessionLocal session, Value left) booleanIsJsonPredicate.getWhenValue(SessionLocal session, Value left) booleanNullPredicate.getWhenValue(SessionLocal session, Value left) booleanTypePredicate.getWhenValue(SessionLocal session, Value left) private static ExpressionConditionAndOr.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 ValueDateTimeFunction.addToTimeZone(int field, long count, Value v, int type, long dateValue, long timeNanos) private static ValueDateTimeFunction.addYearsMonths(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos) static ValueDateTimeFunction.dateadd(SessionLocal session, int field, long count, Value v) DATEADD function.private static ValueBitFunction.getBinaryString(int function, TypeInfo type, Value v1, Value v2) static ValueBitFunction.getBitwise(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.private static Valueprivate static ValueBitFunction.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 ValueFunction1_2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.Function2.getValue(SessionLocal session) protected ValueFunction2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.FunctionN.getValue(SessionLocal session) protected ValueFunctionN.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 ValueXMLFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) private static ValueStringFunction1.hexToRaw(String s, SessionLocal session) private ValueJsonConstructorFunction.jsonArray(SessionLocal session, Expression[] args) private ValueJsonConstructorFunction.jsonObject(SessionLocal session, Expression[] args) private static Valueprivate static ValueRegexpFunction.regexpReplace(SessionLocal session, String input, String regexp, String replacement, int position, int occurrence, String regexpMode) private static ValueRegexpFunction.regexpSubstr(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session) private static Valueprivate ValueMathFunction.round(Value v1, Value v2, RoundingMode roundingMode) private static Valueprivate static ValueDateTimeFunction.truncateDate(SessionLocal session, int field, Value value) Truncate the given date-time value to the specified field.private ValueXMLFunction.xmlNode(SessionLocal session) Methods in org.h2.expression.function with parameters of type ValueModifier and TypeMethodDescriptionprivate static ValueDateTimeFunction.addToTimeZone(int field, long count, Value v, int type, long dateValue, long timeNanos) private static ValueDateTimeFunction.addYearsMonths(int field, boolean years, long count, Value v, int type, long dateValue, long timeNanos) private static ValueBigintprivate static ValueBooleanstatic ValueDateTimeFunction.dateadd(SessionLocal session, int field, long count, Value v) DATEADD function.private static longDateTimeFunction.datediff(SessionLocal session, int field, Value v1, Value v2) Calculate the number of crossed unit boundaries between two timestamps.(package private) static intDateTimeFunction.extractDateTime(SessionLocal session, Value date, int field) private static ValueNumericDateTimeFunction.extractEpoch(SessionLocal session, Value value) private static intDateTimeFunction.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 intDateTimeFunction.extractInterval(Value date, int field) static StringDateTimeFormatFunction.formatDateTime(SessionLocal session, Value date, String format, String locale, String timeZone) Formats a date using a format string.private static ValueBitFunction.getBinaryString(int function, TypeInfo type, Value v1, Value v2) static ValueBitFunction.getBitwise(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.private static Valueprivate static ValueBitFunction.getNumeric(int function, TypeInfo type, Value v1, Value v2) private static StringToCharFunction.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 ValueFunction1_2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.protected ValueFunction2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.protected ValueFunctionN.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 ValueXMLFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) private static MessageDigestprivate static MessageDigestHashFunction.hashImpl(Value value, MessageDigest md) private static Valueprivate static Stringprivate static ValueRegexpFunction.regexpSubstr(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session) private static Valueprivate ValueMathFunction.round(Value v1, Value v2, RoundingMode roundingMode) private static Valuestatic StringToCharFunction.toCharDateTime(SessionLocal session, Value value, String format, String nlsParam) Emulates Oracle's TO_CHAR(datetime) function.private static ValueDateTimeFunction.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.valuesMethods 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 ValueMethods in org.h2.index with parameters of type ValueModifier and TypeMethodDescriptionprivate intIndex.compareValues(Value a, Value b, int sortType) private voidprivate Valueprivate SearchRowIndexCursor.getSearchRow(SearchRow row, int columnId, Value v, boolean max) private SearchRowIndexCursor.getSpatialSearchRow(SearchRow row, int columnId, Value v) private static booleanprivate static voidViewIndex.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.insertRowprivate Value[]JdbcResultSet.updateRow(package private) ValueJdbcLob.valueValue.Methods in org.h2.jdbc that return ValueModifier and TypeMethodDescriptionprivate ValueJdbcResultSet.convertToUnknownValue(Object x) private ValueJdbcResultSet.convertToValue(Object x, SQLType targetSqlType) (package private) ValueJdbcConnection.createBlob(InputStream x, long length) Create a Blob value from this input stream.(package private) ValueJdbcConnection.createClob(Reader x, long length) Create a Clob value from this reader.private ValueJdbcResultSet.get(int columnIndex) JdbcResultSet.getInternal(int columnIndex) INTERNALValue[]JdbcResultSet.getUpdateRow()INTERNALMethods in org.h2.jdbc with parameters of type ValueModifier and TypeMethodDescription(package private) voidJdbcLob.completeWrite(Value blob) Change the state LOB state (LOB value is set completely and available to read).private longJdbcPreparedStatement.executeBatchElement(Value[] set, SQLException exception) private voidJdbcResultSet.patchCurrentRow(Value[] row) private voidJdbcPreparedStatement.setParameter(int parameterIndex, Value value) private voidConstructors 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 ValueDatabaseMetaLegacy.BACKSLASHprivate static final ValueDatabaseMetaLegacy.NOprivate static final ValueDatabaseMetaLocal.NOprivate static final ValueDatabaseMetaLocal.NO_USAGE_RESTRICTIONSprivate static final ValueDatabaseMetaLegacy.PERCENTprivate static final ValueDatabaseMetaLegacy.SCHEMA_MAINprivate static final ValueDatabaseMetaLegacy.YESprivate static final ValueDatabaseMetaLocal.YESMethods in org.h2.jdbc.meta that return ValueModifier and TypeMethodDescriptionprivate ValueDatabaseMetaLegacy.getCatalogPattern(String catalogPattern) private ValueDatabaseMetaLocal.getDataTypeName(TypeInfo typeInfo) private ValueDatabaseMetaRemote.getIntArray(int[] array) private ValueDatabaseMetaLegacy.getPattern(String pattern) private static ValueDatabaseMetaLocal.getRadix(int valueType, boolean small) private ValueDatabaseMetaLegacy.getSchemaPattern(String pattern) private Value(package private) Valueprivate Valueprivate ValueDatabaseMetaRemote.getStringArray(String[] array) Methods in org.h2.jdbc.meta with parameters of type ValueModifier and TypeMethodDescriptionprivate voidDatabaseMetaLocal.addCrossReferenceResult(SimpleResult result, Value catalog, String pkSchema, Table pkTable, String fkSchema, Table fkTable, ConstraintReferential fk) private voidDatabaseMetaLocal.addPrivilege(SimpleResult result, Value catalogValue, Value schemaValue, Value tableValue, Value granteeValue, String right, boolean isAdmin, CompareLike columnLike, Column[] columns) private voidDatabaseMetaLocal.addPrivileges(SimpleResult result, Value catalogValue, String schemaName, String tableName, DbObject grantee, int rightMask, CompareLike columnLike, Column[] columns) private ResultInterfaceDatabaseMetaLegacy.executeQuery(String sql, Value... args) private ResultInterfaceDatabaseMetaRemote.executeQuery(int code, Value... args) private voidDatabaseMetaLocal.getColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private voidDatabaseMetaLocal.getIndexInfo(Value catalogValue, Value schemaValue, Table table, boolean unique, boolean approximate, SimpleResult result, Database db) private voidDatabaseMetaLocal.getProcedureColumnAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, Value specificNameValue, TypeInfo type, boolean notNull, int ordinal) private voidDatabaseMetaLocal.getProceduresAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value procedureNameValue, String comment, ValueSmallint procedureType, Value specificNameValue) private voidDatabaseMetaLocal.getPseudoColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, CompareLike columnLike, Column c) private voidDatabaseMetaLocal.getPseudoColumnsAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, CompareLike columnLike) private voidDatabaseMetaLocal.getTablesAdd(SimpleResult result, Value catalogValue, Value schemaValue, Value tableName, Table t, boolean synonym, HashSet<String> typesSet) static ResultInterfaceDatabaseMetaServer.process(SessionLocal session, int code, Value[] args) Process a database meta data request.private static ResultInterfaceprivate 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 ValueFunctionsPostgreSQL.getIndexdef(SessionLocal session, int indexId, Value ordinalPosition, Value pretty) (package private) static ValueModeFunction.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 ValueFunctionsPostgreSQL.relationSize(SessionLocal session, Value tableOidOrName) Methods in org.h2.mode with parameters of type ValueModifier and TypeMethodDescriptionprivate static ValueFunctionsPostgreSQL.getIndexdef(SessionLocal session, int indexId, Value ordinalPosition, Value pretty) (package private) static ValueModeFunction.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 ValueFunctionsPostgreSQL.relationSize(SessionLocal session, Value tableOidOrName) static intFunctionsMySQL.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.currentCurrent value for theMVSortedTempResult.next()method.Fields in org.h2.mvstore.db with type parameters of type ValueModifier and TypeFieldDescriptionprivate final TransactionMap<SearchRow, Value> MVSecondaryIndex.dataMapprivate final TransactionMap<Spatial, Value> MVSpatialIndex.dataMapMVSortedTempResult.indexOptional index.private final TransactionMap.TMIterator<SearchRow, Value, SearchRow> MVSecondaryIndex.MVStoreCursor.itprivate final TransactionMap<Spatial, Value> MVSpatialIndex.FindBoundsCursor.mapprivate final TransactionMap<Spatial, Value> MVSpatialIndex.SpatialKeyIterator.mapprivate final MVMap<LobStorageMap.BlobReference, Value> LobStorageMap.refMapThe reference map.private final MVRTreeMap<VersionedValue<Value>> MVSpatialIndex.spatialMapMethods in org.h2.mvstore.db that return ValueModifier and TypeMethodDescriptionValue[]NullValueDataType.createStorage(int size) Value[]ValueDataType.createStorage(int size) (package private) ValueMVSpatialIndex.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) ValueValueDataType.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 TypeMethodDescriptionintintintNullValueDataType.binarySearch(Value key, Object storage, int size, int initialGuess) intintintSpatialKey.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueDataType.compareValues(Value a, Value b, int sortType) Compares the specified values.booleanbooleanprivate ValueRowReorder values if required and convert them intoValueRow.intintprivate Value[]Reorder values back if required.intintvoidNullValueDataType.write(WriteBuffer buff, Value obj) voidValueDataType.write(WriteBuffer buff, Value v) private static voidValueDataType.writeBinary(byte type, WriteBuffer buff, Value v) Method parameters in org.h2.mvstore.db with type arguments of type ValueModifier and TypeMethodDescriptionprivate voidMVSecondaryIndex.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 TypeClassDescriptionclassThe default implementation of a row in a table.classRepresents a row in a table.classThe base class for rows stored in a table, and for partial rows stored in the index.classA simple row that contains data for only one column.final classClass Sparse.Fields in org.h2.result declared as ValueModifier and TypeFieldDescription(package private) Value[]FetchedResult.currentRowprivate Value[]LocalResult.currentRowprotected final Value[]DefaultRow.dataThe values of the row (one entry per column).private ValueSimpleRowValue.data(package private) Value[]FetchedResult.nextRowFields in org.h2.result with type parameters of type ValueModifier and TypeFieldDescriptionprivate final ArrayList<Map<SimpleResult.Column, Value>> MergedResult.dataMethods 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 ValueSearchRow.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 TypeMethodDescriptionvoidAdd a row to this object.intAdd a row to this object.voidAdd the row to the result set.voidprivate voidLocalResult.addRowInternal(Value... values) private voidintCompare two expression lists.intSearchRow.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) booleanCheck if the given row exists in this object.booleanLocalResult.containsDistinct(Value[] values) Check if this result set contains the given row.abstract RowCreate a new row.voidDelete the given row in the database.static RowCreates a new row.static RowCreates a new row with the specified key.private ValueRowLocalResult.getDistinctRow(Value[] values) voidInsert a new row into the database.Value[]Re-reads a row from the database and updates the values in the array.voidLocalResult.removeDistinct(Value[] values) Remove the row from the result set if it exists.intRemove the row with the given values from this object if such a row exists.private voidUpdatableRow.setKey(PreparedStatement prep, int start, Value[] current) voidabstract voidSet the value for given columnvoidvoidvoidUpdate 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 TypeMethodDescriptionvoidDomain.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 voidPgServerThread.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 ValueInformationSchemaTable.DataTypeInformation.characterPrecisionCHARACTER_MAXIMUM_LENGTH and CHARACTER_OCTET_LENGTH.(package private) final ValueInformationSchemaTable.DataTypeInformation.datetimePrecisionDATETIME_PRECISION.(package private) final ValueInformationSchemaTable.DataTypeInformation.declaredNumericPrecisionDECLARED_NUMERIC_PRECISION.(package private) final ValueInformationSchemaTable.DataTypeInformation.declaredNumericScaleDECLARED_NUMERIC_SCALE.(package private) final ValueInformationSchemaTable.DataTypeInformation.geometrySridGEOMETRY_SRID.(package private) final ValueInformationSchemaTable.DataTypeInformation.intervalPrecisionINTERVAL_PRECISION.(package private) final ValueInformationSchemaTable.DataTypeInformation.intervalTypeINTERVAL_TYPE.(package private) final ValueInformationSchemaTable.DataTypeInformation.maximumCardinalityMAXIMUM_CARDINALITY.(package private) final ValueInformationSchemaTable.DataTypeInformation.numericPrecisionNUMERIC_PRECISION.(package private) final ValueInformationSchemaTable.DataTypeInformation.numericPrecisionRadixNUMERIC_PRECISION_RADIX.(package private) final ValueInformationSchemaTable.DataTypeInformation.numericScaleNUMERIC_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 ValueColumn.getDefaultOrGenerated(SessionLocal session, Row row) private ValueTableFilter.getDelegatedValue(Column column) Get the value for the given column.(package private) ValueColumn.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 voidInformationSchemaTable.checkConstraints(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) protected final booleanMetaTable.checkIndex(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.private voidInformationSchemaTable.columnPrivileges(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.columns(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) intTable.compareValues(CastDataProvider provider, Value a, Value b) Compare two values with the current comparison mode.private voidInformationSchemaTable.constants(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.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 voidInformationSchemaTable.domainConstraints(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.domains(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private DbExceptionColumn.getDataConversionError(Value value, DbException cause) private voidInformationSchemaTable.indexes(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, boolean columns) private voidInformationSchemaTable.keyColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.referentialConstraints(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.rights(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows) private voidInformationSchemaTable.sequences(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.tableConstraints(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.tablePrivileges(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.tables(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private voidInformationSchemaTable.triggers(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) (package private) ValueColumn.validateConvertUpdateSequence(SessionLocal session, Value value, Row row) Validate the value, convert it if required, and update the sequence value if required.private voidInformationSchemaTable.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 ValueModifierConstructorDescriptionprivateDataTypeInformation(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 voidRecover.getSQL(StringBuilder builder, String column, Value v) -
Uses of Value in org.h2.util
Methods in org.h2.util that return ValueModifier and TypeMethodDescriptionstatic ValueDateTimeUtils.dateTimeToValue(Value original, long dateValue, long timeNanos) Creates a new date-time value with the same type as original value.static ValueLegacyDateTimeUtils.legacyObjectToValue(CastDataProvider session, Object x) Convert a legacy Java object to a value.static ValueDateTimeUtils.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 ValueDateTimeUtils.dateTimeToValue(Value original, long dateValue, long timeNanos) Creates a new date-time value with the same type as original value.static voidJdbcUtils.set(PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn) Set a value as a parameter in a prepared statement.private static voidJdbcUtils.setOther(PreparedStatement prep, int parameterIndex, Value value, JdbcConnection conn) static DateLegacyDateTimeUtils.toDate(CastDataProvider provider, TimeZone timeZone, Value value) Get the date value converted to the specified time zone.static TimeLegacyDateTimeUtils.toTime(CastDataProvider provider, TimeZone timeZone, Value value) Get the time value converted to the specified time zone.static TimestampLegacyDateTimeUtils.toTimestamp(CastDataProvider provider, TimeZone timeZone, Value value) Get the timestamp value converted to the specified time zone.static DurationJSR310Utils.valueToDuration(Value value) Converts a value to a Duration.static InstantJSR310Utils.valueToInstant(Value value, CastDataProvider provider) Converts a value to a Instant.static <T> TLegacyDateTimeUtils.valueToLegacyType(Class<T> type, Value value, CastDataProvider provider) Converts the specified value to an object of the specified legacy type.static LocalDateJSR310Utils.valueToLocalDate(Value value, CastDataProvider provider) Converts a value to a LocalDate.static LocalDateTimeJSR310Utils.valueToLocalDateTime(Value value, CastDataProvider provider) Converts a value to a LocalDateTime.static LocalTimeJSR310Utils.valueToLocalTime(Value value, CastDataProvider provider) Converts a value to a LocalTime.static OffsetDateTimeJSR310Utils.valueToOffsetDateTime(Value value, CastDataProvider provider) Converts a value to a OffsetDateTime.static OffsetTimeJSR310Utils.valueToOffsetTime(Value value, CastDataProvider provider) Converts a value to a OffsetTime.static PeriodJSR310Utils.valueToPeriod(Value value) Converts a value to a Period.static ZonedDateTimeJSR310Utils.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 ValueJsonConstructorUtils.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 voidJsonConstructorUtils.jsonArrayAppend(ByteArrayOutputStream baos, Value value, int flags) Appends a value to a JSON array in the specified output stream.static voidJsonConstructorUtils.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 classImplementation of the ARRAY data type.(package private) classBase class for BigDecimal-based values.final classImplementation of the BIGINT data type.final classImplementation of the BINARY data type.final classImplementation of the BINARY LARGE OBJECT data type.final classImplementation of the BOOLEAN data type.(package private) classBase implementation of byte array based data types.final classImplementation of the CHARACTER data type.final classImplementation of the CHARACTER LARGE OBJECT data type.classBase class for ARRAY and ROW values.final classImplementation of the DATE data type.final classImplementation of the DECFLOAT data type.final classImplementation of the DOUBLE PRECISION data type.final classENUM value.classBase implementation of the ENUM data type.final classImplementation of the GEOMETRY data type.final classImplementation of the INTEGER data type.final classImplementation of the INTERVAL data type.final classImplementation of the JAVA_OBJECT data type.final classImplementation of the JSON data type.classA implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.final classImplementation of NULL.final classImplementation of the NUMERIC data type.final classImplementation of the REAL data type.final classRow value.final classImplementation of the SMALLINT data type.(package private) classBase implementation of String based data types.final classImplementation of the TIME data type.final classImplementation of the TIMESTAMP data type.final classImplementation of the TIMESTAMP WITH TIME ZONE data type.final classImplementation of the TIME WITH TIME ZONE data type.final classImplementation of the TINYINT data type.final classImplementation of the UUID data type.final classImplementation of the BINARY VARYING data type.final classImplementation of the CHARACTER VARYING data type.final classImplementation of the VARCHAR_IGNORECASE data type.Fields in org.h2.value declared as ValueModifier and TypeFieldDescriptionstatic final Value[]Value.EMPTY_VALUESEmpty array of values.(package private) final Value[]ValueCollectionBase.valuesValues.Methods in org.h2.value that return ValueModifier and TypeMethodDescriptionAdd a value and return the result.private static ValueValueToObjectConverter.arrayToValue(Session session, Object x) (package private) static ValueCheck if a value is in the cache that is equal to this value.final ValueValue.castTo(TypeInfo targetType, CastDataProvider provider) Cast a value to the specified type.final ValueValue.convertForAssignTo(TypeInfo targetType, CastDataProvider provider, Object column) Cast a value to the specified type for assignment.final ValueValue.convertTo(int targetType) Convert a value to the specified type without taking scale and precision into account.final ValueValue.convertTo(int targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.final ValueConvert a value to the specified type without taking scale and precision into account.final ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider) Convert a value to the specified type without taking scale and precision into account.private ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) Convert a value to the specified type.final ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider, Object column) Convert a value to the specified type without taking scale and precision into account.private ValueValue.convertToRow(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private ValueValue.convertToVarchar(TypeInfo targetType, CastDataProvider provider, int conversionMode, Object column) private ValueValue.convertToVarcharIgnoreCase(TypeInfo targetType, int conversionMode, Object column) Divide by a value and return the result.static ValueValueGeometry.fromEnvelope(double[] envelope) Creates a geometry value for the given envelope.static ValueGet or create a VARCHAR value for the given string.static ValueValueVarchar.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 ValueValueToObjectConverter.objectToValue(Session session, Object x, int type) Convert a Java object to a value.private static ValueValueToObjectConverter.otherToValue(Session session, Object x) private Value[]Transfer.readArrayElements(int len, TypeInfo elementType) Read a value.static ValueValueToObjectConverter.readValue(Session session, JdbcResultSet rs, int columnIndex) Read a value from the given result set.static ValueRead a value from the given result set.private static ValueValueToObjectConverter2.readValueOther(Session session, ResultSet rs, int columnIndex, int type) (package private) static ValueValueToObjectConverter.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 ValueCheck if a value is in the cache that is equal to this value.intfinal intValue.compareTo(Value v, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.private intValue.compareToNotNullable(Value v, CastDataProvider provider, CompareMode compareMode) abstract intValue.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Compare this value against another value given that the values are of the same data type.intValueArray.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueBigint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueBlob.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueBoolean.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) final intValueBytesBase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueChar.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueClob.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueDate.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueDecfloat.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueDouble.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueEnumBase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueInteger.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueInterval.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueNull.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueNumeric.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueReal.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueRow.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueSmallint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueStringBase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValueTime.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimestamp.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimestampTimeZone.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTimeTimeZone.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueTinyint.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueUuid.compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) intValueVarcharIgnoreCase.compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) intValue.compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.intValueCollectionBase.compareWithNull(Value v, boolean forEquality, CastDataProvider provider, CompareMode compareMode) Divide by a value and return the result.static ValueArrayValueArray.get(TypeInfo componentType, Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueArrayValueArray.get(Value[] list, CastDataProvider provider) Get or create a array value for the given value array.static ValueRowValueRow.get(ExtTypeInfoRow extTypeInfo, Value[] list) Get or create a typed row value for the given value array.static ValueRowGet or create a typed row value for the given value array.static ValueRowGet or create a row value for the given value array.static ExtTypeInfoEnumExtTypeInfoEnum.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 ObjectValueToObjectConverter.valueToArray(Class<?> type, Value value, JdbcConnection conn) static ObjectValueToObjectConverter.valueToDefaultArray(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified array value to array of default Java objects for its type.static ObjectValueToObjectConverter.valueToDefaultObject(Value value, JdbcConnection conn, boolean forJdbc) Converts the specified value to the default Java object for its type.static <T> TValueToObjectConverter.valueToObject(Class<T> type, Value value, JdbcConnection conn) Converts the specified value to an object of the specified type.private static ObjectValueToObjectConverter.valueToOther(Class<?> type, Value value, JdbcConnection conn) voidTransfer.writeValue(Value v) Write a value.Constructors in org.h2.value with parameters of type ValueModifierConstructorDescriptionprivateValueArray(TypeInfo componentType, Value[] list, CastDataProvider provider) (package private)ValueCollectionBase(Value[] values) private