org.apache.lens.cube.metadata
Class StorageConstants
java.lang.Object
org.apache.lens.cube.metadata.StorageConstants
public final class StorageConstants
- extends Object
DATE_PARTITION_KEY
public static final String DATE_PARTITION_KEY
- See Also:
- Constant Field Values
STORGAE_SEPARATOR
public static final String STORGAE_SEPARATOR
- See Also:
- Constant Field Values
LATEST_PARTITION_VALUE
public static final String LATEST_PARTITION_VALUE
- See Also:
- Constant Field Values
getLatestPartFilter
public static String getLatestPartFilter(String partCol)
- Get the partition spec for latest partition
- Parameters:
partCol
- column for latest spec
- Returns:
- latest partition spec as Map from String to String
getPartitionsForLatest
public static List<String> getPartitionsForLatest()
- Get the latest partition value as List
- Returns:
- List
getLatestPartSpec
public static Map<String,String> getLatestPartSpec(Map<String,String> partSpec,
String partCol)
- Get the partition spec for latest partition
- Parameters:
partSpec
- The latest partition specpartCol
- The partition column for latest spec
- Returns:
- latest partition spec as Map from String to String
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.