Package edu.ucsb.nceas.metacat
Class PathIndexEntry
java.lang.Object
edu.ucsb.nceas.metacat.PathIndexEntry
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPathIndexEntry(long nodeId, String path, String docid, long parentId, String nodeData, float nodeDataNumerical, Timestamp nodeDataDate) Construct a new PathIndexEntry for the xml_path_index table.PathIndexEntry(long nodeId, String path, String docid, String docType, long parentId) Construct a new PathIndexEntry for the xml_index table. -
Method Summary
-
Field Details
-
nodeId
protected long nodeId -
path
-
docid
-
docType
-
parentId
protected long parentId -
nodeData
-
nodeDataNumerical
protected float nodeDataNumerical -
nodeDataDate
-
-
Constructor Details
-
PathIndexEntry
Construct a new PathIndexEntry for the xml_index table.- Parameters:
nodeId- the node identifierpath- the path in the xml documentdocid- the document identifierdocType- the document typeparentId- 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 identifierpath- the path in the xml documentdocid- the document identifierdocType- the document typeparentId- the identifier of the parent nodenodeData- the node value as a stringnodeDataNumerical- the node value as a double precision number
-