public class FileMetadata extends Object
Constructor and 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.
|
Modifier and Type | Method and 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() |
public FileMetadata(RecordTokenType type)
type
- the record typepublic FileMetadata(RecordMetadata metadata)
metadata
- the record port metadataparallelism
- the parallelismpublic FileMetadata(RecordTokenType type, DataOrdering dataOrdering, DataDistribution dataDistribution)
type
- the record typedataOrdering
- the data orderingdataDistribution
- the data distributionparallelism
- the parallelismpublic RecordTokenType getType()
public DataOrdering getDataOrdering()
public DataDistribution getDataDistribution()
Copyright © 2016 Actian Corporation. All rights reserved.