Beispiel #1
0
    public static TBuilder AddInListPredicate <TBuilder, T>(
        this TBuilder scanBuilder, string columnName, IEnumerable <T> values)
        where TBuilder : AbstractKuduScannerBuilder <TBuilder>
    {
        var column    = scanBuilder.Table.Schema.GetColumn(columnName);
        var predicate = KuduPredicate.NewInListPredicate(column, values);

        return(scanBuilder.AddPredicate(predicate));
    }