This project has retired. For details please refer to its
Attic page.
StorageConstants (Lens 2.0.1-beta-incubating API)
org.apache.lens.cube.metadata
Class StorageConstants
java.lang.Object
org.apache.lens.cube.metadata.StorageConstants
public 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
StorageConstants
public StorageConstants()
getLatestPartFilter
public static String getLatestPartFilter(String partCol)
- Get the partition spec for latest partition
- Parameters:
The
- partition 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:
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.