public class PgLimitClause extends CustomSyntax implements Verifiable<PgLimitClause>
" LIMIT <limit>" for use in
SelectQuerys.SelectQuery.addCustomization(CustomSyntax)ALL_SYMBOL, NULL_VALUE, QUESTION_MARK| Constructor and Description |
|---|
PgLimitClause(Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(AppendableExt app)
Appends this object to the given AppendableExt.
|
void |
apply(SelectQuery query)
Called by
SelectQuery.addCustomization(CustomSyntax) to add this
custom syntax to the appropriate location in the SelectQuery. |
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
PgLimitClause |
validate()
Runs validation on this verifiable object.
|
void |
validate(ValidationContext vContext)
Runs validation on this verifiable object using a previously collected
ValidationContext.
|
apply, applycollectSchemaObjects, doValidate, toStringtoString, toStringpublic PgLimitClause(Object value)
public void apply(SelectQuery query)
CustomSyntaxSelectQuery.addCustomization(CustomSyntax) to add this
custom syntax to the appropriate location in the SelectQuery.apply in class CustomSyntaxpublic void appendTo(AppendableExt app) throws IOException
AppendeeappendTo in interface AppendeeappendTo in class AppendeeObjectapp - the AppendableExt to which this class should append itselfIOException - if the append failsprotected void collectSchemaObjects(ValidationContext vContext)
SqlObjectcollectSchemaObjects in class SqlObjectvContext - handle to the current validation contextpublic final PgLimitClause validate() throws ValidationException
Verifiablevalidate in interface Verifiable<PgLimitClause>ValidationExceptionpublic void validate(ValidationContext vContext) throws ValidationException
VerifiableIn general, this method will only be called internally, not by users.
validate in interface Verifiable<PgLimitClause>vContext - handle to the current, filled-in validation contextValidationExceptionCopyright © 2006–2021 OpenHMS. All rights reserved.