public class HBaseResourceStore
extends org.apache.kylin.common.persistence.ResourceStore
BAD_QUERY_RESOURCE_ROOT, CUBE_DESC_RESOURCE_ROOT, CUBE_RESOURCE_ROOT, CUBE_STATISTICS_ROOT, DATA_MODEL_DESC_RESOURCE_ROOT, DICT_RESOURCE_ROOT, EXECUTE_OUTPUT_RESOURCE_ROOT, EXECUTE_RESOURCE_ROOT, EXTERNAL_FILTER_RESOURCE_ROOT, HYBRID_RESOURCE_ROOT, KAFKA_RESOURCE_ROOT, kylinConfig, PROJECT_RESOURCE_ROOT, SNAPSHOT_RESOURCE_ROOT, STREAMING_OUTPUT_RESOURCE_ROOT, STREAMING_RESOURCE_ROOT, TABLE_EXD_RESOURCE_ROOT, TABLE_RESOURCE_ROOT| Constructor and Description |
|---|
HBaseResourceStore(org.apache.kylin.common.KylinConfig kylinConfig) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
bigCellHDFSPath(String resPath) |
protected long |
checkAndPutResourceImpl(String resPath,
byte[] content,
long oldTS,
long newTS) |
protected void |
deleteResourceImpl(String resPath) |
protected boolean |
existsImpl(String resPath) |
protected List<org.apache.kylin.common.persistence.RawResource> |
getAllResourcesImpl(String folderPath,
long timeStart,
long timeEndExclusive) |
protected String |
getReadableResourcePathImpl(String resPath) |
protected org.apache.kylin.common.persistence.RawResource |
getResourceImpl(String resPath) |
protected long |
getResourceTimestampImpl(String resPath) |
protected NavigableSet<String> |
listResourcesImpl(String folderPath) |
protected void |
putResourceImpl(String resPath,
InputStream content,
long ts) |
collectResourceRecursively, deleteResource, exists, getAllResources, getAllResources, getReadableResourcePath, getResource, getResource, getResourceTimestamp, getStore, listResources, putResource, putResource, putResource, scanRecursivelypublic HBaseResourceStore(org.apache.kylin.common.KylinConfig kylinConfig)
throws IOException
IOExceptionprotected boolean existsImpl(String resPath) throws IOException
existsImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected NavigableSet<String> listResourcesImpl(String folderPath) throws IOException
listResourcesImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected List<org.apache.kylin.common.persistence.RawResource> getAllResourcesImpl(String folderPath, long timeStart, long timeEndExclusive) throws IOException
getAllResourcesImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected org.apache.kylin.common.persistence.RawResource getResourceImpl(String resPath) throws IOException
getResourceImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected long getResourceTimestampImpl(String resPath) throws IOException
getResourceTimestampImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected void putResourceImpl(String resPath, InputStream content, long ts) throws IOException
putResourceImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected long checkAndPutResourceImpl(String resPath, byte[] content, long oldTS, long newTS) throws IOException, IllegalStateException
checkAndPutResourceImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionIllegalStateExceptionprotected void deleteResourceImpl(String resPath) throws IOException
deleteResourceImpl in class org.apache.kylin.common.persistence.ResourceStoreIOExceptionprotected String getReadableResourcePathImpl(String resPath)
getReadableResourcePathImpl in class org.apache.kylin.common.persistence.ResourceStorepublic org.apache.hadoop.fs.Path bigCellHDFSPath(String resPath)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.