Package com.attivio.sdk.server.udf
Interface OutputValue
-
public interface OutputValueInterface for adding output values to the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBoolean(boolean value)Add a boolean value to the output.voidaddDate(long value)Add a date value to the output as milliseconds since epoch.voidaddDecimal(java.math.BigDecimal value)Add a decimal value to the output.voidaddDouble(double value)Add a double value to the output.voidaddFloat(float value)Add a float value to the output.voidaddInteger(int value)Add an integer value to the output.voidaddLong(long value)Add a long value to the output.voidaddPoint(double x, double y)Add a Point value to the output.voidaddShape(Shape value)Add a Shape value to the output.voidaddString(java.lang.String value)Add a String value to the output.
-
-
-
Method Detail
-
addBoolean
void addBoolean(boolean value)
Add a boolean value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not boolean.
-
addInteger
void addInteger(int value)
Add an integer value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not integer.
-
addLong
void addLong(long value)
Add a long value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not long.
-
addDouble
void addDouble(double value)
Add a double value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not double.
-
addFloat
void addFloat(float value)
Add a float value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not float.
-
addPoint
void addPoint(double x, double y)Add a Point value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not point.
-
addShape
void addShape(Shape value)
Add a Shape value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not shape.
-
addString
void addString(java.lang.String value)
Add a String value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not string.
-
addDate
void addDate(long value)
Add a date value to the output as milliseconds since epoch.- Throws:
java.lang.UnsupportedOperationException- if the output type is not date.
-
addDecimal
void addDecimal(java.math.BigDecimal value)
Add a decimal value to the output.- Throws:
java.lang.UnsupportedOperationException- if the output type is not decimal or money.
-
-