Package org.apache.iceberg.util
Class PropertyUtil
- java.lang.Object
-
- org.apache.iceberg.util.PropertyUtil
-
public class PropertyUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
propertyAsBoolean(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, boolean defaultValue)
static double
propertyAsDouble(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, double defaultValue)
static int
propertyAsInt(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, int defaultValue)
static long
propertyAsLong(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, long defaultValue)
static java.lang.String
propertyAsString(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, java.lang.String defaultValue)
-
-
-
Method Detail
-
propertyAsBoolean
public static boolean propertyAsBoolean(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, boolean defaultValue)
-
propertyAsDouble
public static double propertyAsDouble(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, double defaultValue)
-
propertyAsInt
public static int propertyAsInt(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, int defaultValue)
-
propertyAsLong
public static long propertyAsLong(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, long defaultValue)
-
propertyAsString
public static java.lang.String propertyAsString(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String property, java.lang.String defaultValue)
-
-