public abstract class JavaUDF
extends java.lang.Object
UDFunction
from user provided code.
Only references to this class (and generated implementations) are allowed -
references from this class back to C* code are not allowed (except argument/return type information).Modifier | Constructor and Description |
---|---|
protected |
JavaUDF(com.datastax.driver.core.DataType returnDataType,
com.datastax.driver.core.DataType[] argDataTypes) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
compose_boolean(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected byte |
compose_byte(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected double |
compose_double(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected float |
compose_float(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected int |
compose_int(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected long |
compose_long(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected short |
compose_short(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected java.lang.Object |
compose(int protocolVersion,
int argIndex,
java.nio.ByteBuffer value) |
protected java.nio.ByteBuffer |
decompose(int protocolVersion,
java.lang.Object value) |
protected abstract java.nio.ByteBuffer |
executeImpl(int protocolVersion,
java.util.List<java.nio.ByteBuffer> params) |
protected JavaUDF(com.datastax.driver.core.DataType returnDataType, com.datastax.driver.core.DataType[] argDataTypes)
protected abstract java.nio.ByteBuffer executeImpl(int protocolVersion, java.util.List<java.nio.ByteBuffer> params)
protected java.lang.Object compose(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected java.nio.ByteBuffer decompose(int protocolVersion, java.lang.Object value)
protected float compose_float(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected double compose_double(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected byte compose_byte(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected short compose_short(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected int compose_int(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected long compose_long(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
protected boolean compose_boolean(int protocolVersion, int argIndex, java.nio.ByteBuffer value)
Copyright © 2015 The Apache Software Foundation