Class LongValue


  • public class LongValue
    extends Primitive<java.lang.Long>
    • Constructor Detail

      • LongValue

        public LongValue​(long value)
    • Method Detail

      • toBigDecimalValue

        public BigDecimalValue toBigDecimalValue()
                                          throws UdfException
        Description copied from class: Value
        Returns this value converted to a BigDecimalValue or throws an exception.
        Specified by:
        toBigDecimalValue in class Value
        Returns:
        this Value converted to a BigDecimalValue
        Throws:
        UdfException - if the conversion is not possible
      • toBigIntValue

        public BigIntValue toBigIntValue()
                                  throws UdfException
        Description copied from class: Value
        Returns this value converted to a BigIntValue or throws an exception.
        Specified by:
        toBigIntValue in class Value
        Returns:
        this Value converted to a BigIntValue
        Throws:
        UdfException - if the conversion is not possible
      • toBooleanValue

        public BooleanValue toBooleanValue()
                                    throws UdfException
        Description copied from class: Value
        Returns this value converted to a BooleanValue or throws an exception.
        Specified by:
        toBooleanValue in class Value
        Returns:
        this Value converted to a BooleanValue
        Throws:
        UdfException - if the conversion is not possible
      • toByteValue

        public ByteValue toByteValue()
                              throws UdfException
        Description copied from class: Value
        Returns this value converted to a ByteValue or throws an exception.
        Specified by:
        toByteValue in class Value
        Returns:
        this Value converted to a ByteValue
        Throws:
        UdfException - if the conversion is not possible
      • toDoubleValue

        public DoubleValue toDoubleValue()
                                  throws UdfException
        Description copied from class: Value
        Returns this value converted to a DoubleValue or throws an exception.
        Specified by:
        toDoubleValue in class Value
        Returns:
        this Value converted to a DoubleValue
        Throws:
        UdfException - if the conversion is not possible
      • toFloatValue

        public FloatValue toFloatValue()
                                throws UdfException
        Description copied from class: Value
        Returns this value converted to a FloatValue or throws an exception.
        Specified by:
        toFloatValue in class Value
        Returns:
        this Value converted to a FloatValue
        Throws:
        UdfException - if the conversion is not possible
      • toIntValue

        public IntValue toIntValue()
                            throws UdfException
        Description copied from class: Value
        Returns this value converted to a IntValue or throws an exception.
        Specified by:
        toIntValue in class Value
        Returns:
        this Value converted to a IntValue
        Throws:
        UdfException - if the conversion is not possible
      • toLongValue

        public LongValue toLongValue()
        Description copied from class: Value
        Returns this value converted to a LongValue or throws an exception.
        Specified by:
        toLongValue in class Value
        Returns:
        this Value converted to a LongValue
      • toStringValue

        public StringValue toStringValue()
                                  throws UdfException
        Description copied from class: Value
        Returns this value converted to a StringValue or throws an exception.
        Specified by:
        toStringValue in class Value
        Returns:
        this Value converted to a StringValue
        Throws:
        UdfException - if the conversion is not possible