Class BasicTablesTransformer
java.lang.Object
org.apache.drill.metastore.components.tables.BasicTablesTransformer
Basic metadata transformer class which can transform given list of
TableMetadataUnit
into BaseTableMetadata
, SegmentMetadata
, FileMetadata
,
RowGroupMetadata
, PartitionMetadata
or all metadata types returned in one holder
(BasicTablesTransformer.MetadataHolder
).-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall
(List<TableMetadataUnit> units) static List<FileMetadata>
files
(List<TableMetadataUnit> units) static List<PartitionMetadata>
partitions
(List<TableMetadataUnit> units) static List<RowGroupMetadata>
rowGroups
(List<TableMetadataUnit> units) static List<SegmentMetadata>
segments
(List<TableMetadataUnit> units) static List<BaseTableMetadata>
tables
(List<TableMetadataUnit> units)
-
Constructor Details
-
BasicTablesTransformer
public BasicTablesTransformer()
-
-
Method Details
-
tables
-
segments
-
files
-
rowGroups
-
partitions
-
all
-