Example #1
0
        protected CouchbaseViewBase(CouchbaseViewBase <T> original)
        {
            this.ViewHandler = original.ViewHandler;

            this.startKey = original.startKey;
            this.endKey   = original.endKey;

            this.startId = original.startId;
            this.endId   = original.endId;

            this.stale      = original.stale;
            this.descending = original.descending;
            this.inclusive  = original.inclusive;

            this.skip  = original.skip;
            this.limit = original.limit;

            this.reduce  = original.reduce;
            this.groupAt = original.groupAt;

            this.debug = original.debug;
        }
 internal CouchbaseSpatialViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount)
 {
     ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName, retryCount, "_spatial");
 }
Example #3
0
 internal CouchbaseViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName)
 {
     this.ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName);
 }
Example #4
0
 internal CouchbaseViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName)
 {
     _urlEncode            = false;
     this.ViewHandler      = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName);
     ViewHandler.UrlEncode = _urlEncode;
 }