Interface IOperator
- All Superinterfaces:
ISearchPath,IStatement
- All Known Implementing Classes:
MetaOperator,PgOperator
Interface for database operators.
Defines functionality for custom operators including argument types and return type.
-
Method Summary
Modifier and TypeMethodDescriptionGets the left argument type of this operator.Gets the return type of this operator.Gets the right argument type of this operator.voidsetReturns(String returns) Sets the return type of this operator.Methods inherited from interface org.pgcodekeeper.core.database.api.schema.ISearchPath
getContainingSchema, getDatabase, getSchemaName, toObjectReferenceMethods inherited from interface org.pgcodekeeper.core.database.api.schema.IStatement
addDependency, appendAlterSQL, appendOwnerSQL, canDrop, canDropBeforeCreate, clearPrivileges, compare, deepCopy, formatSql, getAuthor, getBareName, getChildren, getComment, getCreationSQL, getDependencies, getDescendants, getDropSQL, getLibName, getLocation, getName, getOwner, getParent, getPrivileges, getQualifiedName, getQuotedName, getQuoter, getRenameCommand, getSeparator, getSQL, getStatementType, getTwin, getTypeName, hasChildren, isLib, isOwned, quote, setComment, setLibName, setLocation, setOwner, shallowCopy
-
Method Details
-
getRightArg
String getRightArg()Gets the right argument type of this operator.- Returns:
- the right argument type
-
getLeftArg
String getLeftArg()Gets the left argument type of this operator.- Returns:
- the left argument type
-
getReturns
String getReturns()Gets the return type of this operator.- Returns:
- the return type
-
setReturns
Sets the return type of this operator.- Parameters:
returns- the return type to set
-