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

How to use
FilteringIndexStoreStrategy
in
org.apache.jackrabbit.oak.plugins.index.property.strategy

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

origin: apache/jackrabbit-oak

private static IndexStoreStrategy newStrategy(boolean unique,
    boolean defaultMount, String name, Mount m) {
  Predicate<String> filter = newFilter(m);
  boolean readOnly = unique && !m.isDefault() && RO_PRIVATE_UNIQUE_INDEX;
  return unique ? new FilteringIndexStoreStrategy(
      new UniqueEntryStoreStrategy(name), filter, readOnly)
      : new FilteringIndexStoreStrategy(
          new ContentMirrorStoreStrategy(name), filter);
}
origin: org.apache.jackrabbit/oak-core

private static IndexStoreStrategy newStrategy(boolean unique,
    boolean defaultMount, String name, Mount m) {
  Predicate<String> filter = newFilter(m);
  boolean readOnly = unique && !m.isDefault() && RO_PRIVATE_UNIQUE_INDEX;
  return unique ? new FilteringIndexStoreStrategy(
      new UniqueEntryStoreStrategy(name), filter, readOnly)
      : new FilteringIndexStoreStrategy(
          new ContentMirrorStoreStrategy(name), filter);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

private static IndexStoreStrategy newStrategy(boolean unique,
    boolean defaultMount, String name, Mount m) {
  Predicate<String> filter = newFilter(m);
  boolean readOnly = unique && !m.isDefault() && RO_PRIVATE_UNIQUE_INDEX;
  return unique ? new FilteringIndexStoreStrategy(
      new UniqueEntryStoreStrategy(name), filter, readOnly)
      : new FilteringIndexStoreStrategy(
          new ContentMirrorStoreStrategy(name), filter);
}
org.apache.jackrabbit.oak.plugins.index.property.strategyFilteringIndexStoreStrategy

Javadoc

A delegating IndexStoreStrategy that filters out updates that are not accepted by the given predicate

Most used methods

  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • 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
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top Vim plugins
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