Uses of Class
org.h2.value.Value
Packages that use Value
Package
Description
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).
Classes related to a table and table meta data.
Internal utility classes.
Internal utility classes for JSON data type.
Data type and value implementations.
-
Uses of Value in org.h2.command.dml
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.Methods in org.h2.command.dml with parameters of type Value -
Uses of Value in org.h2.command.query
Methods in org.h2.command.query that return ValueMethods in org.h2.command.query with parameters of type ValueModifier and TypeMethodDescriptionfinal PartitionDataSelectGroups.getWindowExprData(DataAnalysisOperation expr, Value partitionKey) Get the window data for the specified expression.final voidSelectGroups.setWindowExprData(DataAnalysisOperation expr, Value partitionKey, PartitionData obj) Set the window data for the specified expression. -
Uses of Value in org.h2.constraint
Methods 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
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 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. -
Uses of Value in org.h2.expression
Methods in org.h2.expression that return ValueModifier and TypeMethodDescriptionParameter.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) 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) 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.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.Returns the value with applied format.booleanExpression.getWhenValue(SessionLocal session, Value left) Return the resulting value of when operand for the current row.static intTimeZoneOperation.parseInterval(Value interval) Parses a daytime interval as time zone offset.voidvoidvoidSet the value of the parameter.void -
Uses of Value in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate that return ValueModifier and TypeMethodDescriptionAggregate.getAggregatedValue(SessionLocal session, Object aggregateData) JavaAggregate.getAggregatedValue(SessionLocal session, Object aggregateData) Aggregate.getValue(SessionLocal session) Methods in org.h2.expression.aggregate with parameters of type ValueModifier and TypeMethodDescriptionprotected voidAggregate.rememberExpressions(SessionLocal session, Value[] array) protected voidJavaAggregate.rememberExpressions(SessionLocal session, Value[] array) 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 TypeMethodDescriptionprotected voidAbstractAggregate.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) -
Uses of Value in org.h2.expression.analysis
Methods 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) Window.getCurrentKey(SessionLocal session) Returns the key for the current group.DataAnalysisOperation.getValue(SessionLocal session) Methods in org.h2.expression.analysis with parameters of type ValueModifier and TypeMethodDescriptionprotected abstract voidDataAnalysisOperation.rememberExpressions(SessionLocal session, Value[] array) Stores current values of expressions into the specified array.protected voidWindowFunction.rememberExpressions(SessionLocal session, Value[] array) Method parameters in org.h2.expression.analysis with type arguments of type ValueModifier and TypeMethodDescriptionprotected 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) -
Uses of Value in org.h2.expression.condition
Methods in org.h2.expression.condition that return ValueModifier and TypeMethodDescriptionBetweenPredicate.getValue(SessionLocal session) BooleanTest.getValue(SessionLocal session) CompareLike.getValue(SessionLocal session) Comparison.getValue(SessionLocal session) ConditionAndOr.getValue(SessionLocal session) ConditionAndOrN.getValue(SessionLocal session) ConditionIn.getValue(SessionLocal session) ConditionInConstantSet.getValue(SessionLocal session) ConditionInParameter.getValue(SessionLocal session) ConditionInQuery.getValue(SessionLocal session) 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) Methods in org.h2.expression.condition with parameters of type ValueModifier and TypeMethodDescriptionbooleanBetweenPredicate.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) -
Uses of Value in org.h2.expression.function
Methods in org.h2.expression.function that return ValueModifier and TypeMethodDescriptionstatic ValueDateTimeFunction.dateadd(SessionLocal session, int field, long count, Value v) DATEADD function.static ValueBitFunction.getBitwise(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.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) Methods in org.h2.expression.function with parameters of type ValueModifier and TypeMethodDescriptionstatic ValueDateTimeFunction.dateadd(SessionLocal session, int field, long count, Value v) DATEADD function.static StringDateTimeFormatFunction.formatDateTime(SessionLocal session, Value date, String format, String locale, String timeZone) Formats a date using a format string.static ValueBitFunction.getBitwise(int function, TypeInfo type, Value v1, Value v2) Computes the value of bitwise function.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) static StringToCharFunction.toCharDateTime(SessionLocal session, Value value, String format, String nlsParam) Emulates Oracle's TO_CHAR(datetime) function. -
Uses of Value in org.h2.index
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. -
Uses of Value in org.h2.jdbc
Methods in org.h2.jdbc that return ValueModifier and TypeMethodDescriptionJdbcResultSet.getInternal(int columnIndex) INTERNALValue[]JdbcResultSet.getUpdateRow()INTERNALConstructors 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) INTERNALJdbcSQLXML(JdbcConnection conn, Value value, JdbcLob.State state, int id) INTERNAL -
Uses of Value in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta with parameters of type ValueModifier and TypeMethodDescriptionstatic ResultInterfaceDatabaseMetaServer.process(SessionLocal session, int code, Value[] args) Process a database meta data request. -
Uses of Value in org.h2.mode
Methods in org.h2.mode that return ValueModifier and TypeMethodDescriptionFunctionsDB2Derby.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) Methods in org.h2.mode with parameters of type ValueModifier and TypeMethodDescriptionstatic 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.dbSubclasses with type arguments of type Value in org.h2.mvstore.dbModifier and TypeClassDescriptionfinal classAn index stored in a MVStore.classThis is an index based on a MVRTreeMap.final classA row type.Classes in org.h2.mvstore.db that implement interfaces with type arguments of type ValueModifier and TypeClassDescriptionfinal classDummy data type used when no value is required.Methods in org.h2.mvstore.db that return ValueModifier and TypeMethodDescriptionValue[]NullValueDataType.createStorage(int size) Value[]ValueDataType.createStorage(int size) 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.NullValueDataType.read(ByteBuffer buff) ValueDataType.read(ByteBuffer buff) Methods in org.h2.mvstore.db that return types with arguments of type ValueMethods in org.h2.mvstore.db with parameters of type ValueModifier and TypeMethodDescriptionintNullValueDataType.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.intintvoidNullValueDataType.write(WriteBuffer buff, Value obj) voidValueDataType.write(WriteBuffer buff, Value v) -
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 TypeFieldDescriptionprotected final Value[]DefaultRow.dataThe values of the row (one entry per column).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 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.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.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.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
Methods 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.table
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.Get the value for the given column.Methods in org.h2.table with parameters of type ValueModifier and TypeMethodDescriptionprotected final booleanMetaTable.checkIndex(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.intTable.compareValues(CastDataProvider provider, Value a, Value b) Compare two values with the current comparison mode.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.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. -
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.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.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.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.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.Subclasses with type arguments of type Value in org.h2.valueClasses in org.h2.value that implement interfaces with type arguments of type ValueFields in org.h2.value declared as ValueMethods in org.h2.value that return ValueModifier and TypeMethodDescriptionAdd a value and return the result.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.final ValueValue.convertTo(TypeInfo targetType, CastDataProvider provider, Object column) Convert a value to the specified type without taking scale and precision into account.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.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.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.intfinal intValue.compareTo(Value v, CastDataProvider provider, CompareMode compareMode) Compare this value against another value using the specified compare mode.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) 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) 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.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.voidTransfer.writeValue(Value v) Write a value.