Documentation of 'org.hsqldb.Routine' Java class
Routine
org.hsqldb

Class Routine

  • All Implemented Interfaces:
    java.lang.Cloneable, RangeGroup, SchemaObject


    public class Routine
    extends java.lang.Object
    implements SchemaObject, RangeGroup, java.lang.Cloneable
    Implementation of specific routine
    Since:
    1.9.0
    • Constructor Detail

      • Routine

        public Routine(int type)
      • Routine

        public Routine(Table table,
                       RangeVariable[] ranges,
                       int impact,
                       int triggerType,
                       int operationType)
    • Method Detail

      • getSQL

        public java.lang.String getSQL()
        Specified by:
        getSQL in interface SchemaObject
      • getSQLAlter

        public java.lang.String getSQLAlter()
      • getSQLDeclaration

        public java.lang.String getSQLDeclaration()
      • getSQLBodyDefinition

        public java.lang.String getSQLBodyDefinition()
      • getExternalName

        public java.lang.String getExternalName()
      • addParameter

        public void addParameter(ColumnSchema param)
      • setLanguage

        public void setLanguage(int lang)
      • getLanguage

        public int getLanguage()
      • setDataImpact

        public void setDataImpact(int impact)
      • getDataImpact

        public int getDataImpact()
      • getDataImpactString

        public java.lang.String getDataImpactString()
      • setReturnType

        public void setReturnType(Type type)
      • getReturnType

        public Type getReturnType()
      • setTableType

        public void setTableType(Type[] types)
      • getTableType

        public Type[] getTableType()
      • getTable

        public Table getTable()
      • setProcedure

        public void setProcedure(Statement statement)
      • getProcedure

        public Statement getProcedure()
      • getMaxDynamicResults

        public int getMaxDynamicResults()
      • setDeterministic

        public void setDeterministic(boolean value)
      • isDeterministic

        public boolean isDeterministic()
      • setNullInputOutput

        public void setNullInputOutput(boolean value)
      • isNullInputOutput

        public boolean isNullInputOutput()
      • setNewSavepointLevel

        public void setNewSavepointLevel(boolean value)
      • setMaxDynamicResults

        public void setMaxDynamicResults(int value)
      • setParameterStyle

        public void setParameterStyle(int style)
      • setMethodURL

        public void setMethodURL(java.lang.String url)
      • getMethod

        public java.lang.reflect.Method getMethod()
      • setMethod

        public void setMethod(java.lang.reflect.Method method)
      • setReturnTable

        public void setReturnTable(TableDerived table)
      • returnsTable

        public boolean returnsTable()
      • setAggregate

        public void setAggregate(boolean isAggregate)
      • isAggregate

        public boolean isAggregate()
      • resolve

        public void resolve(Session session)
      • isTrigger

        public boolean isTrigger()
      • isProcedure

        public boolean isProcedure()
      • isFunction

        public boolean isFunction()
      • getParameterCount

        public int getParameterCount()
      • getParameterCount

        public int getParameterCount(int type)
      • getParameterIndex

        public int getParameterIndex(java.lang.String name)
      • getVariableCount

        public int getVariableCount()
      • isLibraryRoutine

        public boolean isLibraryRoutine()
      • resetAlteredRoutineSettings

        public void resetAlteredRoutineSettings()
      • setAsAlteredRoutine

        public void setAsAlteredRoutine(Routine routine)
      • invokeJavaMethodDirect

        public Result invokeJavaMethodDirect(java.lang.Object[] data)
      • invoke

        public Result invoke(Session session,
                             java.lang.Object[] data,
                             java.lang.Object[] aggregateData,
                             boolean push)
      • duplicate

        public Routine duplicate()
      • newRoutines

        public static Routine[] newRoutines(Session session,
                                            java.lang.reflect.Method[] methods)
      • newRoutine

        public static Routine newRoutine(Session session,
                                         java.lang.reflect.Method method)
        Returns a new function Routine object based solely on a Java Method object.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.