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 voidaccept(SqlAstWalker walker)intforEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)Visit each JdbcMapping starting from the given offsetStringgetFormat()JdbcMappinggetJdbcMapping()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, 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:SqlExpressibleAnything that is expressible at the SQL AST level would be of basic type.- Specified by:
getJdbcMappingin interfaceSqlExpressible
-
accept
public void accept(SqlAstWalker walker)
- Specified by:
acceptin interfaceSqlAstNode
-
forEachJdbcType
public int forEachJdbcType(int offset, IndexedConsumer<JdbcMapping> action)Description copied from interface:JdbcMappingContainerVisit each JdbcMapping starting from the given offset- Specified by:
forEachJdbcTypein interfaceJdbcMappingContainer
-
-