Class LinkedDataFormulaField

  • All Implemented Interfaces:
    java.lang.Cloneable, CustomField

    public class LinkedDataFormulaField
    extends java.lang.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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      int fillField​(RecordInputStream in)
      Populates this fields data from the byte array passed in.
      java.util.Stack getFormulaTokens()  
      int getSize()  
      int serializeField​(int offset, byte[] data)
      Converts this field to it's byte array form.
      void setFormulaTokens​(java.util.Stack formulaTokens)  
      java.lang.String toString()  
      void toString​(java.lang.StringBuffer buffer)
      Appends the string representation of this field to the supplied StringBuffer.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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​(java.lang.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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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.
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • setFormulaTokens

        public void setFormulaTokens​(java.util.Stack formulaTokens)
      • getFormulaTokens

        public java.util.Stack getFormulaTokens()