Class AbstractMsClrFunction

All Implemented Interfaces:
IHashable, IFunction, ISearchPath, IStatement
Direct Known Subclasses:
MsClrFunction, MsClrProcedure

public abstract class AbstractMsClrFunction extends AbstractFunction
Abstract base class for Microsoft SQL CLR (Common Language Runtime) functions. Represents functions implemented in .NET assemblies that can be called from SQL.
  • Method Details

    • addOption

      public void addOption(String option)
      Adds a CLR function option.
      Parameters:
      option - the option to add
    • computeHash

      public void computeHash(Hasher hasher)
      Description copied from interface: IHashable
      Computes the hash of the implementing object using the provided hasher. The implementation should call appropriate put methods on the hasher for all fields that should contribute to the hash value.
      Specified by:
      computeHash in interface IHashable
      Overrides:
      computeHash in class AbstractFunction
      Parameters:
      hasher - the hasher instance to use for hash computation
    • shallowCopy

      public AbstractMsClrFunction shallowCopy()
      Description copied from class: PgStatement
      Copies all object properties into a new object and leaves all its children empty.
      Overrides:
      shallowCopy in class AbstractFunction
      Returns:
      shallow copy of a DB object.
    • getDbType

      public DatabaseType getDbType()
      Overrides:
      getDbType in class PgStatement