Package io.trino.spi.function
Class InvocationConvention
java.lang.Object
io.trino.spi.function.InvocationConvention
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionInvocationConvention(List<InvocationConvention.InvocationArgumentConvention> argumentConventionList, InvocationConvention.InvocationReturnConvention returnConvention, boolean supportsSession, boolean supportsInstanceFactory) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArgumentConvention(int index) inthashCode()static InvocationConventionsimpleConvention(InvocationConvention.InvocationReturnConvention returnConvention, InvocationConvention.InvocationArgumentConvention... argumentConventions) booleanDeprecated.booleanbooleantoString()
-
Constructor Details
-
InvocationConvention
public InvocationConvention(List<InvocationConvention.InvocationArgumentConvention> argumentConventionList, InvocationConvention.InvocationReturnConvention returnConvention, boolean supportsSession, boolean supportsInstanceFactory)
-
-
Method Details
-
simpleConvention
public static InvocationConvention simpleConvention(InvocationConvention.InvocationReturnConvention returnConvention, InvocationConvention.InvocationArgumentConvention... argumentConventions) -
getReturnConvention
-
getArgumentConventions
-
getArgumentConvention
-
supportsSession
public boolean supportsSession() -
supportsInstanceFactor
Deprecated. -
supportsInstanceFactory
public boolean supportsInstanceFactory() -
toString
-
equals
-
hashCode
public int hashCode()
-