@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; Property prop = node.getProperty(propertyName, cache); if (prop == null || prop.isEmpty()) return null; StringBuilder fullTextString = new StringBuilder(); extractFullTextFrom(prop, type, fullTextString, binaries, node, cache); return fullTextString.toString(); }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; Property prop = node.getProperty(propertyName, cache); if (prop == null || prop.isEmpty()) return null; StringBuilder fullTextString = new StringBuilder(); extractFullTextFrom(prop, type, fullTextString, binaries, node, cache); return fullTextString.toString(); }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); String name = node.getName(cache).getLocalName(); if (trace) NodeSequence.LOGGER.trace("Extracting name from {0}: {1}", node.getPath(cache), name); return name; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; Name name = node.getName(cache); if (trace) NodeSequence.LOGGER.trace("Extracting name from {0}: {1}", node.getPath(cache), name); return name; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; NodeKey parentKey = node.getParentKey(cache); if (parentKey == null) return null; CachedNode parent = cache.getNode(parentKey); if (parent == null) return null; Path parentPath = parent.getPath(cache); if (trace) NodeSequence.LOGGER.trace("Extracting parent path from {0}: {1}", node.getPath(cache), parentPath); return parentPath; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; NodeKey parentKey = node.getParentKey(cache); if (trace) NodeSequence.LOGGER.trace("Extracting parent key from {0}: {1}", node.getPath(cache), parentKey); return parentKey != null ? parentKey.toString() : null; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; org.modeshape.jcr.value.Property prop = node.getProperty(propertyName, cache); return prop == null ? null : desiredType.create(prop.getFirstValue()); }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; NodeKey parentKey = node.getParentKey(cache); if (trace) NodeSequence.LOGGER.trace("Extracting parent key from {0}: {1}", node.getPath(cache), parentKey); return parentKey != null ? parentKey.toString() : null; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; return node.getName(cache); } };
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; Path path = node.getPath(cache); return stringFactory.create(path); }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; NodeKey parentKey = node.getParentKey(cache); if (parentKey == null) return null; CachedNode parent = cache.getNode(parentKey); if (parent == null) return null; Path parentPath = parent.getPath(cache); if (trace) NodeSequence.LOGGER.trace("Extracting parent path from {0}: {1}", node.getPath(cache), parentPath); return parentPath; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; return node.getKey().toString(); } };
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; return node.getDepth(cache); } };
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(index); return node != null ? node.getKey() : null; } });
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; return node.getName(cache); } };
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; org.modeshape.jcr.value.Property prop = node.getProperty(propertyName, cache); return prop == null ? null : desiredType.create(prop.getFirstValue()); }
@Override public Object getValueInRow( RowAccessor row ) { Object[] keys = new Object[rowWidth]; for (int i = 0; i != rowWidth; ++i) { keys[i] = NodeSequence.keyFor(row.getNode(i)); } return Tuples.tuple(keys); }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); String name = node.getName(cache).getLocalName(); if (trace) NodeSequence.LOGGER.trace("Extracting name from {0}: {1}", node.getPath(cache), name); return name; }
@Override public Object getValueInRow( RowAccessor row ) { CachedNode node = row.getNode(indexInRow); if (node == null) return null; org.modeshape.jcr.value.Property prop = node.getProperty(propName, cache); if (prop == null || prop.isEmpty()) return null; return typeFactory.create(prop.getFirstValue()); }