Class Format
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.Format
-
- All Implemented Interfaces:
JdbcMappingContainer
,SqlExpressible
,SqlAstNode
public class Format extends Object implements SqlExpressible, SqlAstNode
Represents the format pattern for a date/time format expression
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
int
forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)
Visit each JdbcMapping starting from the given offsetString
getFormat()
JdbcMapping
getJdbcMapping()
Anything that is expressible at the SQL AST level would be of basic type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcMappings, getJdbcTypeCount, getSingleJdbcMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.SqlExpressible
getJdbcMapping
-
-
-
-
Constructor Detail
-
Format
public Format(String format)
-
-
Method Detail
-
getFormat
public String getFormat()
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
Description copied from interface:SqlExpressible
Anything that is expressible at the SQL AST level would be of basic type.- Specified by:
getJdbcMapping
in interfaceSqlExpressible
-
accept
public void accept(SqlAstWalker walker)
- Specified by:
accept
in interfaceSqlAstNode
-
forEachJdbcType
public int forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)
Description copied from interface:JdbcMappingContainer
Visit each JdbcMapping starting from the given offset- Specified by:
forEachJdbcType
in interfaceJdbcMappingContainer
-
-