Search Results for

    Show / Hide Table of Contents

    Class PartitionDataReaderFilter

    A data reader filter based on an integer column, which can contain ids or a zero based partition identifier.

    Inheritance
    System.Object
    PartitionDataReaderFilter
    Implements
    IDataReaderFilter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: BayesServer.Data
    Assembly: BayesServer.Data.dll
    Syntax
    public sealed class PartitionDataReaderFilter : IDataReaderFilter

    Constructors

    PartitionDataReaderFilter(DataPartitioning, Int32, String)

    Initializes a new instance of the PartitionDataReaderFilter class.

    Declaration
    public PartitionDataReaderFilter(DataPartitioning dataPartitioning, int partitionCount, string partitionColumn)
    Parameters
    Type Name Description
    DataPartitioning dataPartitioning

    The partitioning to use to filter the data.

    System.Int32 partitionCount

    The total number of partitions.

    System.String partitionColumn

    The name of the column containing ids or a zero based partition identifier.

    Methods

    Include(DataRow)

    Determines whether a data table row should be included or not.

    Declaration
    public bool Include(DataRow row)
    Parameters
    Type Name Description
    System.Data.DataRow row

    The current data row to include or exclude.

    Returns
    Type Description
    System.Boolean

    Returns true if the record should be included, false if the recorded should be excluded.

    Include(IDataRecord)

    Determines whether a record should be included or not.

    Declaration
    public bool Include(IDataRecord record)
    Parameters
    Type Name Description
    System.Data.IDataRecord record

    The current record to include or exclude.

    Returns
    Type Description
    System.Boolean

    Returns true if the record should be included, false if the recorded should be excluded.

    Implements

    IDataReaderFilter
    In This Article
    Back to top Copyright Bayes Server Ltd. All rights Reserved.