Package org.dbos.apiary.voltdb
Class VoltFunction
java.lang.Object
org.voltdb.VoltProcedure
org.dbos.apiary.voltdb.VoltFunction
- All Implemented Interfaces:
ApiaryFunction
All VoltDB functions should extend this class and implement
runFunction
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.voltdb.VoltProcedure
org.voltdb.VoltProcedure.VoltAbortException
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.voltdb.SQLStmt
int
static final ProvenanceBuffer
static final org.voltdb.SQLStmt
Fields inherited from class org.voltdb.VoltProcedure
EXPECT_EMPTY, EXPECT_NON_EMPTY, EXPECT_ONE_ROW, EXPECT_SCALAR, EXPECT_SCALAR_LONG, EXPECT_ZERO_OR_ONE_ROW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
recordInvocation
(ApiaryContext ctxt, String funcName) org.voltdb.VoltTable[]
run
(int pkey, org.voltdb.VoltTable voltInput) Methods inherited from class org.voltdb.VoltProcedure
EXPECT_SCALAR_MATCH, getClusterId, getSeededRandomNumberGenerator, getTransactionTime, getUniqueId, setAppStatusCode, setAppStatusString, voltExecuteSQL, voltExecuteSQL, voltQueueSQL, voltQueueSQL
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.dbos.apiary.function.ApiaryFunction
apiaryRunFunction
-
Field Details
-
provBuff
-
pkey
public int pkey -
getRecordedOutput
public static final org.voltdb.SQLStmt getRecordedOutput -
recordOutput
public static final org.voltdb.SQLStmt recordOutput
-
-
Constructor Details
-
VoltFunction
public VoltFunction()
-
-
Method Details
-
run
public org.voltdb.VoltTable[] run(int pkey, org.voltdb.VoltTable voltInput) throws InvocationTargetException, IllegalAccessException -
recordInvocation
- Specified by:
recordInvocation
in interfaceApiaryFunction
-