Class SqmInsertSelectStatement<T>
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.AbstractSqmStatement<E>
-
- org.hibernate.query.sqm.tree.AbstractSqmDmlStatement<T>
-
- org.hibernate.query.sqm.tree.insert.AbstractSqmInsertStatement<T>
-
- org.hibernate.query.sqm.tree.insert.SqmInsertSelectStatement<T>
-
- All Implemented Interfaces:
CommonAbstractCriteria,Serializable,JpaCriteriaBase,JpaCriteriaInsertSelect<T>,JpaCriteriaNode,JpaCteContainer,JpaManipulationCriteria<T>,JpaQueryableCriteria<T>,ParameterCollector,SqmCteContainer,SqmInsertStatement<T>,SqmDmlStatement<T>,SqmNode,SqmQuery<T>,SqmStatement<T>,SqmVisitableNode
@Incubating public class SqmInsertSelectStatement<T> extends AbstractSqmInsertStatement<T> implements JpaCriteriaInsertSelect<T>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.tree.SqmStatement
SqmStatement.ParameterResolutions
-
-
Constructor Summary
Constructors Constructor Description SqmInsertSelectStatement(Class<T> targetEntity, NodeBuilder nodeBuilder)SqmInsertSelectStatement(SqmRoot<T> targetRoot, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> Xaccept(SemanticQueryWalker<X> walker)Accept the walker per visitationvoidappendHqlString(StringBuilder sb)SqmInsertSelectStatement<T>copy(SqmCopyContext context)JpaPredicategetRestriction()SqmQueryPart<?>getSelectQueryPart()voidsetSelectQueryPart(SqmQueryPart<?> selectQueryPart)-
Methods inherited from class org.hibernate.query.sqm.tree.insert.AbstractSqmInsertStatement
addInsertTargetStateField, copyInsertionTargetPaths, getInsertionTargetPaths, setInsertionTargetPaths, visitInsertionTargetPaths
-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmDmlStatement
appendHqlCteString, copyCteStatements, getCteCriteria, getCteCriterias, getCteStatement, getCteStatements, getTarget, setTarget, subquery, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmStatement
addParameter, copyParameters, getQuerySource, getSqmParameters, resolveParameters
-
Methods inherited from class org.hibernate.query.sqm.tree.AbstractSqmNode
nodeBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
subquery
-
Methods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
-
Methods inherited from interface org.hibernate.query.sqm.tree.cte.SqmCteContainer
getCteStatement, getCteStatements
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmDmlStatement
getTarget, setTarget
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmStatement
getQuerySource, getSqmParameters, resolveParameters
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
-
-
-
Constructor Detail
-
SqmInsertSelectStatement
public SqmInsertSelectStatement(SqmRoot<T> targetRoot, NodeBuilder nodeBuilder)
-
SqmInsertSelectStatement
public SqmInsertSelectStatement(Class<T> targetEntity, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmInsertSelectStatement<T> copy(SqmCopyContext context)
-
getSelectQueryPart
public SqmQueryPart<?> getSelectQueryPart()
-
setSelectQueryPart
public void setSelectQueryPart(SqmQueryPart<?> selectQueryPart)
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
getRestriction
public JpaPredicate getRestriction()
- Specified by:
getRestrictionin interfaceCommonAbstractCriteria- Specified by:
getRestrictionin interfaceJpaCriteriaBase
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmInsertStatement<T>
-
-