Class PathIndexEntry

java.lang.Object
edu.ucsb.nceas.metacat.PathIndexEntry

public class PathIndexEntry extends Object
PathIndexEntry contains all of the data fields needed to insert an path into the xml_index table or the xml_path_index table, depending on which constructor is used.
Author:
jones
  • Field Details

    • nodeId

      protected long nodeId
    • path

      protected String path
    • docid

      protected String docid
    • docType

      protected String docType
    • parentId

      protected long parentId
    • nodeData

      protected String nodeData
    • nodeDataNumerical

      protected float nodeDataNumerical
    • nodeDataDate

      protected Timestamp nodeDataDate
  • Constructor Details

    • PathIndexEntry

      public PathIndexEntry(long nodeId, String path, String docid, String docType, long parentId)
      Construct a new PathIndexEntry for the xml_index table.
      Parameters:
      nodeId - the node identifier
      path - the path in the xml document
      docid - the document identifier
      docType - the document type
      parentId - the identifier of the parent node
    • PathIndexEntry

      public PathIndexEntry(long nodeId, String path, String docid, long parentId, String nodeData, float nodeDataNumerical, Timestamp nodeDataDate)
      Construct a new PathIndexEntry for the xml_path_index table.
      Parameters:
      nodeId - the node identifier
      path - the path in the xml document
      docid - the document identifier
      docType - the document type
      parentId - the identifier of the parent node
      nodeData - the node value as a string
      nodeDataNumerical - the node value as a double precision number