コード例 #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;
        }
コード例 #2
0
 internal CouchbaseSpatialViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount)
 {
     ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName, retryCount, "_spatial");
 }
コード例 #3
0
 internal CouchbaseViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName)
 {
     this.ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName);
 }
コード例 #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;
 }