Package org.pgcodekeeper.core.schema.ms
Class AbstractMsClrFunction
java.lang.Object
org.pgcodekeeper.core.schema.PgStatement
org.pgcodekeeper.core.schema.AbstractFunction
org.pgcodekeeper.core.schema.ms.AbstractMsClrFunction
- All Implemented Interfaces:
IHashable,IFunction,ISearchPath,IStatement
- Direct Known Subclasses:
MsClrFunction,MsClrProcedure
Abstract base class for Microsoft SQL CLR (Common Language Runtime) functions.
Represents functions implemented in .NET assemblies that can be called from SQL.
-
Field Summary
Fields inherited from class org.pgcodekeeper.core.schema.PgStatement
GO -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a CLR function option.voidcomputeHash(Hasher hasher) Computes the hash of the implementing object using the provided hasher.Copies all object properties into a new object and leaves all its children empty.Methods inherited from class org.pgcodekeeper.core.schema.AbstractFunction
addArgument, appendAlterSQL, canDropBeforeCreate, compare, getArguments, getContainingSchema, getCreationSQL, getReturns, getReturnsColumns, needDrop, setReturnsMethods inherited from class org.pgcodekeeper.core.schema.PgStatement
addAllDeps, addDep, addPrivilege, appendAlterComments, appendComments, appendOwnerSQL, canDrop, checkComments, clearPrivileges, compareChildren, deepCopy, equals, getAuthor, getBareName, getChildren, getComment, getDeps, getDescendants, getDropSQL, getDropSQL, getLibName, getLocation, getName, getObjectState, getObjectState, getOwner, getParent, getPrivileges, getQualifiedName, getSQL, getTwin, getTypeName, hasChildren, hashCode, isLib, isOwned, isSubElement, setAuthor, setComment, setLibName, setLocation, setOwner, setParent, toStringMethods inherited from interface org.pgcodekeeper.core.schema.ISearchPath
getDatabase, getSchemaNameMethods inherited from interface org.pgcodekeeper.core.schema.IStatement
getBareName, getComment, getName, getParent, getQualifiedName, getStatementType
-
Method Details
-
addOption
Adds a CLR function option.- Parameters:
option- the option to add
-
computeHash
Description copied from interface:IHashableComputes the hash of the implementing object using the provided hasher. The implementation should call appropriateputmethods on the hasher for all fields that should contribute to the hash value.- Specified by:
computeHashin interfaceIHashable- Overrides:
computeHashin classAbstractFunction- Parameters:
hasher- the hasher instance to use for hash computation
-
shallowCopy
Description copied from class:PgStatementCopies all object properties into a new object and leaves all its children empty.- Overrides:
shallowCopyin classAbstractFunction- Returns:
- shallow copy of a DB object.
-
getDbType
- Overrides:
getDbTypein classPgStatement
-