Uses of Enum Class
org.apache.openjpa.kernel.exps.DateTimeExtractField
Packages that use DateTimeExtractField
Package
Description
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC SQL Abstraction
OpenJPA Expression Tree
-
Uses of DateTimeExtractField in org.apache.openjpa.jdbc.kernel.exps
Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type DateTimeExtractFieldModifier and TypeMethodDescriptionJDBCExpressionFactory.getDateTimeField(DateTimeExtractField field, Value value) Constructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type DateTimeExtractFieldModifierConstructorDescriptionExtractDateTimeField(Val val, DateTimeExtractField field) Constructor. -
Uses of DateTimeExtractField in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type DateTimeExtractFieldModifier and TypeMethodDescriptionAbstractMySQLDictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) EXTRACT(WEEK) counts weeks from Sunday; mode 3 of WEEK gives the ISO week that JPA defines.DBDictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) Return the SQL that extracts the given field from a date or time value, where {1} stands for the value and may occur more than once.DerbyDictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) Derby has no EXTRACT, but a function per field.H2Dictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) EXTRACT(SECOND) returns the whole seconds only; the fraction of the second that JPA includes is added from EXTRACT(NANOSECOND).OracleDictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) Oracle has no EXTRACT(QUARTER) or EXTRACT(WEEK); both are read from TO_CHAR, IW being the ISO week that JPA defines.SQLServerDictionary.getExtractDateTimeFieldFunction(DateTimeExtractField extField) DATEPART(WEEK) counts the weeks from January 1st; DATEPART(ISO_WEEK) gives the ISO-8601 week that JPA defines.DBDictionary.getExtractField(DateTimeExtractField extField) H2Dictionary.getExtractField(DateTimeExtractField extField) H2 numbers a plain WEEK by the week definition of the JVM default locale.HSQLDictionary.getExtractField(DateTimeExtractField extField) -
Uses of DateTimeExtractField in org.apache.openjpa.kernel.exps
Subclasses with type arguments of type DateTimeExtractField in org.apache.openjpa.kernel.expsModifier and TypeClassDescriptionenumType identifiers used by EXTRACT functionMethods in org.apache.openjpa.kernel.exps that return DateTimeExtractFieldModifier and TypeMethodDescriptionstatic DateTimeExtractFieldReturns the enum constant of this class with the specified name.static DateTimeExtractField[]DateTimeExtractField.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.openjpa.kernel.exps with parameters of type DateTimeExtractFieldModifier and TypeMethodDescriptionExpressionFactory.getDateTimeField(DateTimeExtractField field, Value value) Returns the integer or double value of the required ChronoField from the temporal valueInMemoryExpressionFactory.getDateTimeField(DateTimeExtractField field, Value value)