- java.lang.Object
-
- com.pervasive.datarush.operators.io.FileMetadata
-
public class FileMetadata extends Object
The metadata associated with physical data files.
-
-
Constructor Summary
Constructors Constructor Description FileMetadata(RecordMetadata metadata)
Create a FileMetadata inheriting the setting from a RecordPort's metadata with the specified parallelism.FileMetadata(RecordTokenType type)
Create a FileMetadata of the given type and unspecified ordering and partitioning.FileMetadata(RecordTokenType type, DataOrdering dataOrdering, DataDistribution dataDistribution)
Create a FileMetadata of the given type, ordering, distribution, and parallelism.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataDistribution
getDataDistribution()
Returns the data partitioning of the file.DataOrdering
getDataOrdering()
Returns the data ordering of the file.RecordTokenType
getType()
Returns the record data type of the file.String
toString()
-
-
-
Constructor Detail
-
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 metadataparallelism
- 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 typedataOrdering
- the data orderingdataDistribution
- the data distributionparallelism
- the parallelism
-
-
Method Detail
-
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.
-
-