Class FileMetadata

java.lang.Object
com.pervasive.datarush.operators.io.FileMetadata

public class FileMetadata extends Object
The metadata associated with physical data files.
  • Constructor Details

    • FileMetadata

      public FileMetadata(RecordTokenType type)
      Create a FileMetadata of the given type and unspecified ordering and partitioning.
      Parameters:
      type - the record type
    • FileMetadata

      public FileMetadata(RecordMetadata metadata)
      Create a FileMetadata inheriting the setting from a RecordPort's metadata with the specified parallelism.
      Parameters:
      metadata - the record port metadata
      parallelism - the parallelism
    • FileMetadata

      public FileMetadata(RecordTokenType type, DataOrdering dataOrdering, DataDistribution dataDistribution)
      Create a FileMetadata of the given type, ordering, distribution, and parallelism.
      Parameters:
      type - the record type
      dataOrdering - the data ordering
      dataDistribution - the data distribution
      parallelism - the parallelism
  • Method Details

    • getType

      public RecordTokenType getType()
      Returns the record data type of the file.
      Returns:
      the record data type of the file.
    • getDataOrdering

      public DataOrdering getDataOrdering()
      Returns the data ordering of the file.
      Returns:
      the data ordering of the file.
    • getDataDistribution

      public DataDistribution getDataDistribution()
      Returns the data partitioning of the file.
      Returns:
      the data partitioning of the file.
    • toString

      public String toString()
      Overrides:
      toString in class Object