Package com.cedarsoft.couchdb.core

Examples of com.cedarsoft.couchdb.core.Options


   * @throws ActionFailedException
   * @throws IOException
   */
  @Nonnull
  public <K, V, D> ViewResponse<K, V, D> query( @Nonnull ViewDescriptor viewDescriptor, @Nonnull JacksonSerializer<? super K> keySerializer, @Nonnull JacksonSerializer<? super V> valueSerializer, @Nonnull JacksonSerializer<? extends D> docSerializer, @Nullable Options options ) throws InvalidTypeException, ActionFailedException, IOException {
    Options localOptions;
    if ( options != null && !options.isGroup() ) {
      localOptions = new Options( options ).includeDocs( true ); //force include docs
    } else {
      localOptions = options;
    }

    try ( InputStream stream = query( viewDescriptor, localOptions ) ) {
View Full Code Here

TOP

Related Classes of com.cedarsoft.couchdb.core.Options

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.