Tabnine Logo
Projection.isFieldRequiredToEvaluateProjection
Code IndexAdd Tabnine to your IDE (free)

How to use
isFieldRequiredToEvaluateProjection
method
in
com.redhat.lightblue.query.Projection

Best Java code snippets using com.redhat.lightblue.query.Projection.isFieldRequiredToEvaluateProjection (Showing top 8 results out of 315)

origin: com.redhat.lightblue/lightblue-core-query-api

/**
 * Returns true if the field is needed to evaluate the projection
 */
public boolean isFieldRequiredToEvaluateProjection(Path field) {
  LOGGER.debug("Checking if {} is referenced in projection", field);
  return isFieldRequiredToEvaluateProjection(field, Path.EMPTY);
}
origin: lightblue-platform/lightblue-core

/**
 * Returns true if the field is needed to evaluate the projection
 */
public boolean isFieldRequiredToEvaluateProjection(Path field) {
  LOGGER.debug("Checking if {} is referenced in projection", field);
  return isFieldRequiredToEvaluateProjection(field, Path.EMPTY);
}
origin: com.redhat.lightblue.mongo/lightblue-mongo-crud

  (node instanceof ArrayElement)) {
} else if( (p!=null && p.isFieldRequiredToEvaluateProjection(field)) ||
      (q!=null && q.isRequired(field)) ||
      (s!=null && s.isRequired(field)) ) {
origin: com.redhat.lightblue.mongo/lightblue-mongo

    || (node instanceof ArrayElement)) {
} else if ((p != null && p.isFieldRequiredToEvaluateProjection(field))
    || (q != null && q.isRequired(field))
    || (s != null && s.isRequired(field))) {
origin: com.redhat.lightblue/lightblue-core-query-api

      ret = ((ArrayProjection) this).getProject().isFieldRequiredToEvaluateProjection(field, nestedCtx);
} else if (this instanceof ProjectionList) {
  for (Projection x : ((ProjectionList) this).getItems()) {
    if (x.isFieldRequiredToEvaluateProjection(field, ctx)) {
      return true;
origin: lightblue-platform/lightblue-core

      ret = ((ArrayProjection) this).getProject().isFieldRequiredToEvaluateProjection(field, nestedCtx);
} else if (this instanceof ProjectionList) {
  for (Projection x : ((ProjectionList) this).getItems()) {
    if (x.isFieldRequiredToEvaluateProjection(field, ctx)) {
      return true;
origin: com.redhat.lightblue/lightblue-core-crud

  fields.add(new Path(localField,Path.ANYPATH));
} else {
  if (localProjection != null && localProjection.isFieldRequiredToEvaluateProjection(localField)) {
    LOGGER.debug("{}: required", localField);
    fields.add(localField);
  if (requestProjection != null && requestProjection.isFieldRequiredToEvaluateProjection(globalField)) {
    LOGGER.debug("{}: required", localField);
    fields.add(localField);
origin: lightblue-platform/lightblue-core

  fields.add(new Path(localField,Path.ANYPATH));
} else {
  if (localProjection != null && localProjection.isFieldRequiredToEvaluateProjection(localField)) {
    LOGGER.debug("{}: required", localField);
    fields.add(localField);
  if (requestProjection != null && requestProjection.isFieldRequiredToEvaluateProjection(globalField)) {
    LOGGER.debug("{}: required", localField);
    fields.add(localField);
com.redhat.lightblue.queryProjectionisFieldRequiredToEvaluateProjection

Javadoc

Returns true if the field is needed to evaluate the projection

Popular methods of Projection

  • fromJson
  • toJson
  • getFieldInclusion
    Determine if the field is explicitly included/excluded, implicitly included, or the projection does
  • add
    Adds two projections and returns a new projection containing both. Any projection can be null. If th
  • toString
  • fieldAncestorOfPattern
    If the field is an ancestor of the pattern, and if inclusion is true, returns true. Otherwise, retur
  • fieldMatchesPattern
    Returns whether to include/exclude the field based on whether the field matches the pattern
  • impliedInclusion
    Returns if the field should be included based on the recursive pattern.
  • isFieldIncluded
    Returns if the field should be included based on the pattern given.
  • toMask
    If a path includes array indexes, change the indexes into ANY

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Reference (javax.naming)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ 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