Package org.apache.drill.exec.store.mock
Class MockTableDef
java.lang.Object
org.apache.drill.exec.store.mock.MockTableDef
Structure of a mock table definition file. Yes, using Jackson deserialization to parse
the file is brittle, but this is for testing so we're favoring convenience
over robustness.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMeta-data description of the columns we wish to create during a simulated scan.static classDescribes one simulated file (or block) within the logical file scan described by this group scan.static classA tiny wrapper class to add required DrillTableSelection behaviour to the entries list. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescription of this data source.The set of entries that define the groups within the file.
-
Constructor Details
-
MockTableDef
-
-
Method Details
-
getDescrip
Description of this data source. Ignored by the scanner, purely for the convenience of the author. -
getEntries
The set of entries that define the groups within the file. Each group can have a distinct schema; each may be read in a separate fragment.- Returns:
-