Class PseudoArgs<OPTS>

java.lang.Object
org.springframework.data.couchbase.core.support.PseudoArgs<OPTS>

public class PseudoArgs<OPTS> extends Object
  • Constructor Details

    • PseudoArgs

      public PseudoArgs(String scopeName, String collectionName, OPTS options)
    • PseudoArgs

      public PseudoArgs(ReactiveCouchbaseTemplate template, String scope, String collection, OPTS options, Class<?> domainType)
      return scope, collection and options in following precedence
      1) values from fluent api
      2) values from dynamic proxy (via template threadLocal)
      3) the values from the couchbaseClientFactory
      Parameters:
      template - which holds ThreadLocal pseudo args
      scope - - from calling operation
      collection - - from calling operation
      options - - from calling operation
      domainType - - entity that may have annotations
  • Method Details

    • getOptions

      public OPTS getOptions()
      Returns:
      the options
    • getScope

      public String getScope()
      Returns:
      the scope name
    • getCollection

      public String getCollection()
      Returns:
      the collection name
    • toString

      public String toString()
      Overrides:
      toString in class Object