@NotThreadSafe public class DefaultRowFactory extends Object implements RowFactory
RowFactory
class. This class records rows in the following subgraph:
<graph root> + text:row[1] (jcr:primaryType = nt:unstructured) | + text:column[1] (jcr:primaryType = nt:unstructured, jcr:mixinTypes = text:column, text:data =) | + ... | + text:column[n] (jcr:primaryType = nt:unstructured, jcr:mixinTypes = text:column, text:data = ) + ... + text:row[m] (jcr:primaryType = nt:unstructured) + text:column[1] (jcr:primaryType = nt:unstructured, jcr:mixinTypes = text:column, text:data = ) + ... + text:column[n] (jcr:primaryType = nt:unstructured, jcr:mixinTypes = text:column, text:data = )
Constructor and Description |
---|
DefaultRowFactory() |
Modifier and Type | Method and Description |
---|---|
void |
recordRow(Node outputNode,
String[] columns)
Records a row using under the provided
Node instance. |
public void recordRow(Node outputNode, String[] columns) throws RepositoryException
RowFactory
Node
instance.recordRow
in interface RowFactory
outputNode
- the node under which the sequencing output is placed.columns
- the columns that could be parsed out for the rowRepositoryException
- if anything fails while recording the row under the ouput node.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.