congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ContentMirrorStoreStrategy.query
Code IndexAdd Tabnine to your IDE (free)

How to use
query
method
in
org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy

Best Java code snippets using org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy.query (Showing top 5 results out of 315)

origin: apache/jackrabbit-oak

@Override
public Iterable<String> query(final Filter filter, final String name,
    final NodeState indexMeta, final Iterable<String> values) {
  return query(filter, name, indexMeta, this.indexName, values);
}
origin: org.apache.jackrabbit/oak-core

@Override
public Iterable<String> query(final Filter filter, final String name,
    final NodeState indexMeta, final Iterable<String> values) {
  return query(filter, name, indexMeta, this.indexName, values);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public Iterable<String> query(final Filter filter, final String name,
    final NodeState indexMeta, final Iterable<String> values) {
  return query(filter, name, indexMeta, this.indexName, values);
}
origin: apache/jackrabbit-oak

  private Iterable<String> queryBucket(Filter filter, String indexName, NodeState propIndexNode,
                     String bucketPropName, Set<String> values) {
    String bucketName = propIndexNode.getString(bucketPropName);
    if (bucketName == null) {
      return Collections.emptyList();
    }

    NodeState bucket = propIndexNode.getChildNode(bucketName);
    if (bucket.getChildNodeCount(1) == 0) {
      return Collections.emptyList();
    }

    ContentMirrorStoreStrategy s = new ContentMirrorStoreStrategy(bucketName, pathPrefix, prependPathPrefix);
    return s.query(filter, indexName, propIndexNode, bucketName, values);
  }
}
origin: org.apache.jackrabbit/oak-lucene

  private Iterable<String> queryBucket(Filter filter, String indexName, NodeState propIndexNode,
                     String bucketPropName, Set<String> values) {
    String bucketName = propIndexNode.getString(bucketPropName);
    if (bucketName == null) {
      return Collections.emptyList();
    }

    NodeState bucket = propIndexNode.getChildNode(bucketName);
    if (bucket.getChildNodeCount(1) == 0) {
      return Collections.emptyList();
    }

    ContentMirrorStoreStrategy s = new ContentMirrorStoreStrategy(bucketName, pathPrefix, prependPathPrefix);
    return s.query(filter, indexName, propIndexNode, bucketName, values);
  }
}
org.apache.jackrabbit.oak.plugins.index.property.strategyContentMirrorStoreStrategyquery

Popular methods of ContentMirrorStoreStrategy

  • <init>
    Constructs a ContentMirrorStoreStrategy
  • count
  • fetchKeyNode
    fetch from the index the key node
  • getChildNodeEntries
  • insert
  • prune
    Physically prune a list of nodes from the index
  • remove
  • update

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Kernel (java.awt.image)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now