internal CouchbaseView(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount, bool shouldLookupDocById = false, string pagedViewIdProperty = null, string pagedViewKeyProperty = null) : base(client, clientLocator, designDocument, indexName, retryCount) { _shouldLookupDocById = shouldLookupDocById; }
internal CouchbaseViewBase(IMemcachedClient client, IHttpClientLocator clientLocator, string designDocument, string indexName) { this.client = client; this.clientLocator = clientLocator; this.designDocument = designDocument; this.indexName = indexName; }
internal CouchbaseViewHandler(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, string viewPath = "_view") { this.Client = client; this.ClientLocator = clientLocator; this.DesignDocument = designDocument; this.IndexName = indexName; this.ViewPath = viewPath; }
internal CouchbaseViewHandler(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount, string viewPath = "_view") { this.Client = client; this.ClientLocator = clientLocator; this.DesignDocument = designDocument; this.IndexName = indexName; this.ViewPath = viewPath; if (retryCount < 0 || retryCount > 10) { const string msg = "Must be greater than 0 and less than or equal to 10."; throw new ArgumentOutOfRangeException("retryCount", msg); } RetryCount = retryCount; }
protected CouchbaseViewBase(CouchbaseViewBase <T> original) { this.clientLocator = original.clientLocator; this.designDocument = original.designDocument; this.indexName = original.indexName; 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; }
internal CouchbaseSpatialView(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount, bool shouldLookUpDocById = false) : base(client, clientLocator, designDocument, indexName, retryCount) { _shouldLookupDocById = shouldLookUpDocById; }
internal CouchbaseView(IMemcachedClient client, IHttpClientLocator clientLocator, string designDocument, string indexName) : base(client, clientLocator, designDocument, indexName) { }
internal CouchbaseView(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount) : base(client, clientLocator, designDocument, indexName, retryCount) { }
internal CouchbaseSpatialViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName, int retryCount) { ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName, retryCount, "_spatial"); }
internal CouchbaseViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName) { this.ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName); }
internal CouchbaseViewBase(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName) { _urlEncode = false; this.ViewHandler = new CouchbaseViewHandler(client, clientLocator, designDocument, indexName); ViewHandler.UrlEncode = _urlEncode; }
internal CouchbaseSpatialView(ICouchbaseClient client, IHttpClientLocator clientLocator, string designDocument, string indexName) : base(client, clientLocator, designDocument, indexName) { }