public UserDefined(FunctionDescriptor functionDescriptor) throws FunctionExecutionException { this.fd = functionDescriptor; this.instance = (UserDefinedAggregate<?>) fd.newInstance(); if (instance instanceof ExposedStateUserDefinedAggregate) { this.exposed = (ExposedStateUserDefinedAggregate)instance; } }
public UserDefined(FunctionDescriptor functionDescriptor) throws FunctionExecutionException { this.fd = functionDescriptor; this.instance = (UserDefinedAggregate<?>) fd.newInstance(); if (instance instanceof ExposedStateUserDefinedAggregate) { this.exposed = (ExposedStateUserDefinedAggregate)instance; } }
public UserDefined(FunctionDescriptor functionDescriptor) throws FunctionExecutionException { this.fd = functionDescriptor; this.instance = (UserDefinedAggregate<?>) fd.newInstance(); if (instance instanceof ExposedStateUserDefinedAggregate) { this.exposed = (ExposedStateUserDefinedAggregate)instance; } }
if (validateClass && method.getAggregateAttributes() != null && (method.getPushdown() == PushDown.CAN_PUSHDOWN || method.getPushdown() == PushDown.CANNOT_PUSHDOWN)) { try { result.newInstance(); } catch (FunctionExecutionException e) {
if (validateClass && method.getAggregateAttributes() != null && (method.getPushdown() == PushDown.CAN_PUSHDOWN || method.getPushdown() == PushDown.CANNOT_PUSHDOWN)) { try { result.newInstance(); } catch (FunctionExecutionException e) {
if (validateClass && method.getAggregateAttributes() != null && (method.getPushdown() == PushDown.CAN_PUSHDOWN || method.getPushdown() == PushDown.CANNOT_PUSHDOWN)) { try { result.newInstance(); } catch (FunctionExecutionException e) {