public static class BaseGrantQuery.Privilege extends SqlObject
Modifier and Type | Class and Description |
---|---|
static class |
BaseGrantQuery.Privilege.Type
Enumeration representing the various database privilege types
|
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Constructor and Description |
---|
Privilege(BaseGrantQuery.Privilege.Type type,
Column... columns) |
Modifier and Type | Method and Description |
---|---|
BaseGrantQuery.Privilege |
addColumns(Column... columns)
Adds the given columns to the column list.
|
BaseGrantQuery.Privilege |
addCustomColumns(Object... columnStrs)
Adds the given columns to the column list.
|
void |
appendTo(AppendableExt app)
Appends this object to the given AppendableExt.
|
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
collectSchemaObjects, doValidate, toString
toString, toString
public Privilege(BaseGrantQuery.Privilege.Type type, Column... columns)
public BaseGrantQuery.Privilege addCustomColumns(Object... columnStrs)
Object
-> SqlObject
conversions handled by
Converter.CUSTOM_COLUMN_TO_OBJ
.
public BaseGrantQuery.Privilege addColumns(Column... columns)
protected void collectSchemaObjects(ValidationContext vContext)
SqlObject
collectSchemaObjects
in class SqlObject
vContext
- handle to the current validation contextpublic void appendTo(AppendableExt app) throws IOException
Appendee
appendTo
in interface Appendee
appendTo
in class AppendeeObject
app
- the AppendableExt to which this class should append itselfIOException
- if the append failsCopyright © 2006–2021 OpenHMS. All rights reserved.