Class MsAbstractClrFunction
java.lang.Object
org.pgcodekeeper.core.database.base.schema.AbstractStatement
org.pgcodekeeper.core.database.ms.schema.MsAbstractStatement
org.pgcodekeeper.core.database.ms.schema.MsAbstractCommonFunction
org.pgcodekeeper.core.database.ms.schema.MsAbstractClrFunction
- All Implemented Interfaces:
IFunction,ISearchPath,IStatement,IHashable
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a CLR function option.voidcomputeHash(Hasher hasher) Computes the hash of the implementing object using the provided hasher.Methods inherited from class org.pgcodekeeper.core.database.ms.schema.MsAbstractCommonFunction
addArgument, appendAlterSQL, canDropBeforeCreate, compare, getArguments, getCreationSQL, getReturns, getReturnsColumns, setReturnsMethods inherited from class org.pgcodekeeper.core.database.ms.schema.MsAbstractStatement
appendOwnerSQL, formatSql, getQuoter, getRenameCommand, getSeparator, isOwnedMethods inherited from class org.pgcodekeeper.core.database.base.schema.AbstractStatement
addDependency, addPrivilege, appendAlterComments, appendComments, appendPrivileges, canDrop, checkComments, clearPrivileges, compareChildren, deepCopy, equals, fillChildrenList, fillDescendantsList, getAuthor, getBareName, getChildren, getComment, getDependencies, getDescendants, getDropSQL, getDropSQL, getLibName, getLocation, getName, getObjectState, getObjectState, getOwner, getParent, getPrivileges, getQualifiedName, getSQL, getTwin, hasChildren, hashCode, isLib, setAuthor, setComment, setLibName, setLocation, setOwner, setParent, shallowCopy, toStringMethods 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, appendOwnerSQL, canDrop, clearPrivileges, deepCopy, formatSql, getAuthor, getBareName, getChildren, getComment, 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
-
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 classMsAbstractCommonFunction- Parameters:
hasher- the hasher instance to use for hash computation
-