Class TableParamDef
java.lang.Object
org.apache.drill.exec.store.table.function.TableParamDef
Definition of table parameters, contains parameter name, class type, type status (optional / required).
 May also contain action this parameter can perform for the given value and table.
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(DrillTable drillTable, Object value) booleangetName()Class<?> getType()inthashCode()booleanstatic TableParamDefoptional(String name, Class<?> type, BiConsumer<DrillTable, Object> action) static TableParamDefrequired(String name, Class<?> type, BiConsumer<DrillTable, Object> action) toString()
- 
Method Details- 
requiredpublic static TableParamDef required(String name, Class<?> type, BiConsumer<DrillTable, Object> action) 
- 
optionalpublic static TableParamDef optional(String name, Class<?> type, BiConsumer<DrillTable, Object> action) 
- 
getName
- 
getType
- 
isOptionalpublic boolean isOptional()
- 
apply
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-