congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SelectorImpl.getWildcardColumns
Code IndexAdd Tabnine to your IDE (free)

How to use
getWildcardColumns
method
in
org.apache.jackrabbit.oak.query.ast.SelectorImpl

Best Java code snippets using org.apache.jackrabbit.oak.query.ast.SelectorImpl.getWildcardColumns (Showing top 3 results out of 315)

origin: apache/jackrabbit-oak

private void addWildcardColumns(
    Collection<ColumnImpl> columns, SelectorImpl selector) {
  String selectorName = selector.getSelectorName();
  for (String propertyName : selector.getWildcardColumns()) {
    if (namePathMapper != null) {
      propertyName = namePathMapper.getJcrName(propertyName);
    }
    String columnName;
    if (includeSelectorNameInWildcardColumns) {
      columnName = selectorName + "." + propertyName;
    } else {
      columnName = propertyName;
    }
    columns.add(factory.column(selectorName, propertyName, columnName));
  }
  if (columns.isEmpty()) {
    // OAK-1354, inject the selector name
    columns.add(factory
        .column(selectorName, selectorName, selectorName));
  }
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

private void addWildcardColumns(
    Collection<ColumnImpl> columns, SelectorImpl selector) {
  String selectorName = selector.getSelectorName();
  for (String propertyName : selector.getWildcardColumns()) {
    if (namePathMapper != null) {
      propertyName = namePathMapper.getJcrName(propertyName);
    }
    String columnName;
    if (includeSelectorNameInWildcardColumns) {
      columnName = selectorName + "." + propertyName;
    } else {
      columnName = propertyName;
    }
    columns.add(factory.column(selectorName, propertyName, columnName));
  }
  if (columns.isEmpty()) {
    // OAK-1354, inject the selector name
    columns.add(factory
        .column(selectorName, selectorName, selectorName));
  }
}
origin: org.apache.jackrabbit/oak-core

private void addWildcardColumns(
    Collection<ColumnImpl> columns, SelectorImpl selector) {
  String selectorName = selector.getSelectorName();
  for (String propertyName : selector.getWildcardColumns()) {
    if (namePathMapper != null) {
      propertyName = namePathMapper.getJcrName(propertyName);
    }
    String columnName;
    if (includeSelectorNameInWildcardColumns) {
      columnName = selectorName + "." + propertyName;
    } else {
      columnName = propertyName;
    }
    columns.add(factory.column(selectorName, propertyName, columnName));
  }
  if (columns.isEmpty()) {
    // OAK-1354, inject the selector name
    columns.add(factory
        .column(selectorName, selectorName, selectorName));
  }
}
org.apache.jackrabbit.oak.query.astSelectorImplgetWildcardColumns

Popular methods of SelectorImpl

  • <init>
  • createFilter
    Create the filter condition for planning or execution.
  • currentOakProperty
  • currentPath
    Get the current absolute Oak path (normalized).
  • currentProperty
    The value for the given selector for the current node, filtered by property type.
  • currentTree
    Get the tree at the current path.
  • equals
  • evaluateCurrentRow
  • evaluateTypeMatch
  • getExecutionPlan
  • getIndex
  • getLocalPath
  • getIndex,
  • getLocalPath,
  • getMixinTypes,
  • getNodeType,
  • getPrimaryTypes,
  • getQuery,
  • getScanCount,
  • getSelectorName,
  • getSupertypes,
  • getTree

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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