Package com.attivio.sdk.server.udf
Interface OutputValue
-
public interface OutputValue
Interface for adding output values to the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBoolean(boolean value)
Add a boolean value to the output.void
addDate(long value)
Add a date value to the output as milliseconds since epoch.void
addDecimal(java.math.BigDecimal value)
Add a decimal value to the output.void
addDouble(double value)
Add a double value to the output.void
addFloat(float value)
Add a float value to the output.void
addInteger(int value)
Add an integer value to the output.void
addLong(long value)
Add a long value to the output.void
addPoint(double x, double y)
Add a Point value to the output.void
addShape(Shape value)
Add a Shape value to the output.void
addString(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.
-
-