Class LinkedDataFormulaField

  • All Implemented Interfaces:
    Cloneable, CustomField

    public class LinkedDataFormulaField
    extends Object
    implements CustomField
    Not implemented yet. May commit it anyway just so people can see where I'm heading.
    Author:
    Glen Stampoultzis (glens at apache.org)
    • Constructor Detail

      • LinkedDataFormulaField

        public LinkedDataFormulaField()
    • Method Detail

      • getSize

        public int getSize()
        Specified by:
        getSize in interface CustomField
        Returns:
        The size of this field in bytes. This operation is not valid until after the call to fillField()
      • fillField

        public int fillField​(RecordInputStream in)
        Description copied from interface: CustomField
        Populates this fields data from the byte array passed in.
        Specified by:
        fillField in interface CustomField
        Parameters:
        in - the RecordInputstream to read the record from
      • toString

        public void toString​(StringBuffer buffer)
        Description copied from interface: CustomField
        Appends the string representation of this field to the supplied StringBuffer.
        Specified by:
        toString in interface CustomField
        Parameters:
        buffer - The string buffer to append to.
      • serializeField

        public int serializeField​(int offset,
                                  byte[] data)
        Description copied from interface: CustomField
        Converts this field to it's byte array form.
        Specified by:
        serializeField in interface CustomField
        Parameters:
        offset - The offset into the byte array to start writing to.
        data - The data array to write to.
        Returns:
        The number of bytes written.
      • setFormulaTokens

        public void setFormulaTokens​(Stack formulaTokens)
      • getFormulaTokens

        public Stack getFormulaTokens()