Package org.hibernate.hql.ast.tree
Interface ParameterContainer
- All Known Implementing Classes:
ComponentJoin,FromElement,ImpliedFromElement,SqlFragment
public interface ParameterContainer
Deprecated.
Currently this is needed in order to deal with
FromElements which
contain "hidden" JDBC parameters from applying filters.
Would love for this to go away, but that would require that Hibernate's
internal join handling be able to either:- render the same AST structures
- render structures capable of being converted to these AST structures
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmbeddedParameter(ParameterSpecification specification) Deprecated.Adds a parameter specification for a parameter encountered within this node.Deprecated.Retrieve all embedded parameter specifications.booleanDeprecated.Determine whether this node contains embedded parameters.voidDeprecated.Set the renderable text of this node.
-
Method Details
-
setText
Deprecated.Set the renderable text of this node.- Parameters:
text- The renderable text
-
addEmbeddedParameter
Deprecated.Adds a parameter specification for a parameter encountered within this node. We use the term 'embedded' here because of the fact that the parameter was simply encountered as part of the node's text; it does not exist as part of a subtree as it might in a true AST.- Parameters:
specification- The generated specification.
-
hasEmbeddedParameters
boolean hasEmbeddedParameters()Deprecated.Determine whether this node contains embedded parameters. The implication is thatgetEmbeddedParameters()is allowed to return null if this method returns false.- Returns:
- True if this node contains embedded parameters; false otherwise.
-
getEmbeddedParameters
ParameterSpecification[] getEmbeddedParameters()Deprecated.Retrieve all embedded parameter specifications.- Returns:
- All embedded parameter specifications; may return null.
- See Also:
-