public static void filterLimitBlockAll() {
// TODO(developer): Replace these variables before running the sample.
String projectId = "my-project-id";
String instanceId = "my-instance-id";
String tableId = "mobile-time-series";
filterLimitBlockAll(projectId, instanceId, tableId);
}
public static void filterLimitBlockAll(String projectId, String instanceId, String tableId) {
// A filter that does not match any cells
Filter filter = new SkipFilter(new RandomRowFilter(1));
Scan scan = new Scan().setFilter(filter);
readWithFilter(projectId, instanceId, tableId, scan);
}