/** * Whether the provided column, which is assumed to be _fetched_ by this filter (so the caller must guarantee * that {@code fetches(column) == true}, is also _queried_ by the user. * * !WARNING! please be sure to understand the difference between _fetched_ and _queried_ * columns that this class made before using this method. If unsure, you probably want * to use the {@link #fetches} method. */ public boolean fetchedColumnIsQueried(ColumnDefinition column) { return !isFetchAll || queried == null || queried.contains(column); }
/** * Whether the provided column is fetched by this filter. */ public boolean fetches(ColumnDefinition column) { return isFetchAll || queried.contains(column); }
/** * Whether the provided column, which is assumed to be _fetched_ by this filter (so the caller must guarantee * that {@code fetches(column) == true}, is also _queried_ by the user. * * !WARNING! please be sure to understand the difference between _fetched_ and _queried_ * columns that this class made before using this method. If unsure, you probably want * to use the {@link #fetches} method. */ public boolean fetchedColumnIsQueried(ColumnDefinition column) { return !isFetchAll || queried == null || queried.contains(column); }
/** * Whether the provided column, which is assumed to be _fetched_ by this filter (so the caller must guarantee * that {@code fetches(column) == true}, is also _queried_ by the user. * * !WARNING! please be sure to understand the difference between _fetched_ and _queried_ * columns that this class made before using this method. If unsure, you probably want * to use the {@link #fetches} method. */ public boolean fetchedColumnIsQueried(ColumnDefinition column) { return !isFetchAll || queried == null || queried.contains(column); }
/** * Whether the provided column is fetched by this filter. */ public boolean fetches(ColumnDefinition column) { return isFetchAll || queried.contains(column); }
/** * Whether the provided column is fetched by this filter. */ public boolean fetches(ColumnDefinition column) { return isFetchAll || queried.contains(column); }
/** * Whether the provided column, which is assumed to be _fetched_ by this filter (so the caller must guarantee * that {@code fetches(column) == true}, is also _queried_ by the user. * * !WARNING! please be sure to understand the difference between _fetched_ and _queried_ * columns that this class made before using this method. If unsure, you probably want * to use the {@link #fetches} method. */ public boolean fetchedColumnIsQueried(ColumnDefinition column) { return !isFetchAll || queried == null || queried.contains(column); }
/** * Whether the provided column is fetched by this filter. */ public boolean fetches(ColumnDefinition column) { return isFetchAll || queried.contains(column); }
public boolean indexes(PartitionColumns columns) { return columns.contains(index.getDefinition()); }
public boolean indexes(PartitionColumns columns) { return columns.contains(index.getDefinition()); }
public boolean indexes(PartitionColumns columns) { return columns.contains(index.getDefinition()); }
if (!isPrimaryKeyIndex() && !columns.contains(indexedColumn)) return null;
if (!isPrimaryKeyIndex() && !columns.contains(indexedColumn)) return null;
if (!isPrimaryKeyIndex() && !columns.contains(indexedColumn)) return null;