public static class MockTableDef.MockColumn extends Object
Modifier and Type | Field and Description |
---|---|
String |
generator
The scan can request to use a specific data generator class.
|
TypeProtos.MinorType |
minorType
Column type given as a Drill minor type (that is, a type without the
extra information such as cardinality, width, etc.
|
TypeProtos.DataMode |
mode |
String |
name |
Integer |
precision |
Map<String,Object> |
properties |
Integer |
repeat
Some tests want to create a very wide row with many columns.
|
Integer |
scale |
Integer |
width |
Constructor and Description |
---|
MockColumn(String name,
TypeProtos.MinorType minorType,
TypeProtos.DataMode mode,
Integer width,
Integer precision,
Integer scale,
String generator,
Integer repeat,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
String |
getGenerator() |
TypeProtos.MajorType |
getMajorType() |
TypeProtos.MinorType |
getMinorType() |
TypeProtos.DataMode |
getMode() |
String |
getName() |
Integer |
getPrecision() |
Map<String,Object> |
getProperties() |
Integer |
getRepeat() |
int |
getRepeatCount() |
Integer |
getScale() |
Integer |
getWidth() |
int |
getWidthValue() |
String |
toString() |
public TypeProtos.MinorType minorType
public String name
public TypeProtos.DataMode mode
public Integer width
public Integer precision
public Integer scale
public String generator
public Integer repeat
public TypeProtos.MinorType getMinorType()
public String getName()
public TypeProtos.DataMode getMode()
public Integer getWidth()
public Integer getPrecision()
public Integer getScale()
public String getGenerator()
public Integer getRepeat()
public int getRepeatCount()
public int getWidthValue()
public TypeProtos.MajorType getMajorType()
Copyright © 1970 The Apache Software Foundation. All rights reserved.