Class PropertyAccessor
java.lang.Object
org.apache.drill.exec.record.metadata.PropertyAccessor
Utilities to get/set typed values within a propertied object
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getBoolean
(Propertied props, String key) static boolean
getBoolean
(Propertied props, String key, boolean defaultValue) static int
getInt
(Propertied props, String key) static int
getInt
(Propertied props, String key, int defaultValue) static String
getString
(Propertied props, String key, String defaultValue) static void
set
(Propertied props, String key, boolean value) static void
set
(Propertied props, String key, int value)
-
Method Details
-
getString
-
getInt
-
getInt
-
getBoolean
-
getBoolean
-
set
-
set
-