Exemplo n.º 1
0
        // [END bigtable_filters_limit_timestamp_range]

        // [START bigtable_filters_limit_block_all]
        /// <summary>
        /// /// Read using a block all filter from an existing table.
        ///</summary>
        /// <param name="projectId">Your Google Cloud Project ID.</param>
        /// <param name="instanceId">Your Google Cloud Bigtable Instance ID.</param>
        /// <param name="tableId">Your Google Cloud Bigtable table ID.</param>

        public string filterLimitBlockAll(string projectId = "YOUR-PROJECT-ID", string instanceId = "YOUR-INSTANCE-ID", string tableId = "YOUR-TABLE-ID")
        {
            // A filter that does not match any cells
            RowFilter filter = RowFilters.BlockAllFilter();

            return(readFilter(projectId, instanceId, tableId, filter));
        }
Exemplo n.º 2
0
        public void BlockAllFilter()
        {
            var filter = RowFilters.BlockAllFilter();

            Assert.True(filter.BlockAllFilter);
        }