public abstract class CustomizableSqlObject extends SqlObject
com.healthmarketscience.sqlbuilder.custom
for more details on custom SQL syntax.ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Modifier | Constructor and Description |
---|---|
protected |
CustomizableSqlObject() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCustomization(HookAnchor anchor,
HookType type,
Object obj)
Adds a new customization to this object.
|
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
protected AppendableExt |
customAppendTo(AppendableExt app,
HookAnchor anchor)
Appends any
HookType.BEFORE or HookType.AFTER
customizations for the given anchor. |
protected AppendableExt |
customAppendTo(AppendableExt app,
HookAnchor anchor,
String str)
Appends all customizations for the given anchor.
|
protected void |
maybeAppendTo(AppendableExt app,
HookAnchor anchor,
String clauseText,
boolean includeClause)
Appends the appropriate customizations for the given anchor (and possibly
the anchor clause itself) based on whether or not the clause should be
included.
|
protected void |
maybeAppendTo(AppendableExt app,
HookAnchor anchor,
String clauseText,
SqlObject clauseContent,
boolean includeClause)
Appends the appropriate customizations for the given anchor (and possibly
the anchor clause itself) based on whether or not the clause should be
included.
|
collectSchemaObjects, doValidate, toString
appendTo, toString, toString
protected void collectSchemaObjects(ValidationContext vContext)
SqlObject
collectSchemaObjects
in class SqlObject
vContext
- handle to the current validation contextprotected void maybeAppendTo(AppendableExt app, HookAnchor anchor, String clauseText, SqlObject clauseContent, boolean includeClause) throws IOException
IOException
protected void maybeAppendTo(AppendableExt app, HookAnchor anchor, String clauseText, boolean includeClause) throws IOException
IOException
protected AppendableExt customAppendTo(AppendableExt app, HookAnchor anchor) throws IOException
HookType.BEFORE
or HookType.AFTER
customizations for the given anchor.IOException
protected AppendableExt customAppendTo(AppendableExt app, HookAnchor anchor, String str) throws IOException
IOException
protected void addCustomization(HookAnchor anchor, HookType type, Object obj)
Copyright © 2006–2021 OpenHMS. All rights reserved.