@Repository public class StorageFileDaoImpl extends AbstractHerdDao implements StorageFileDao
AbstractHerdDao.AggregateFunctionBUSINESS_OBJECT_DATA_PARTITIONS, BUSINESS_OBJECT_DATA_SUBPARTITIONS, configurationHelper, DEFAULT_SINGLE_DAY_DATE_MASK, MAX_PARTITION_FILTERS_PER_REQUESTentityManager| Constructor and Description |
|---|
StorageFileDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
StorageFileEntity |
getStorageFileByStorageNameAndFilePath(String storageName,
String filePath)
Retrieves storage file by storage name and file path.
|
StorageFileEntity |
getStorageFileByStorageUnitEntityAndFilePath(StorageUnitEntity storageUnitEntity,
String filePath)
Retrieves storage file by storage unit entity and file path.
|
Long |
getStorageFileCount(String storageName,
String filePathPrefix)
Counts all storage files matching the file path prefix in the specified storage.
|
org.apache.commons.collections4.MultiValuedMap<Integer,String> |
getStorageFilePathsByStorageUnitIds(List<Integer> storageUnitIds)
Retrieves a map of storage unit ids to their corresponding storage file paths.
|
List<String> |
getStorageFilesByStorageAndFilePathPrefix(String storageName,
String filePathPrefix)
Retrieves a sorted list of storage file paths matching S3 key prefix in the specified storage.
|
getMaximumBusinessObjectDataVersionSubQuery, getQueryRestriction, getQueryRestriction, getQueryRestriction, getQueryRestrictionOnBusinessObjectDataVersionAndStatus, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnStorage, savedelete, detach, executeSingleResultQuery, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, getPredicateForInClause, query, queryByNamedParams, saveAndRefreshclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, detach, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, query, queryByNamedParams, save, saveAndRefreshpublic StorageFileEntity getStorageFileByStorageNameAndFilePath(String storageName, String filePath)
StorageFileDaogetStorageFileByStorageNameAndFilePath in interface StorageFileDaostorageName - the storage name (case-insensitive)filePath - the file pathpublic StorageFileEntity getStorageFileByStorageUnitEntityAndFilePath(StorageUnitEntity storageUnitEntity, String filePath)
StorageFileDaogetStorageFileByStorageUnitEntityAndFilePath in interface StorageFileDaostorageUnitEntity - the storage unit entityfilePath - the file pathpublic Long getStorageFileCount(String storageName, String filePathPrefix)
StorageFileDaogetStorageFileCount in interface StorageFileDaostorageName - the storage name (case-insensitive)filePathPrefix - the file path prefix that file paths should matchpublic org.apache.commons.collections4.MultiValuedMap<Integer,String> getStorageFilePathsByStorageUnitIds(List<Integer> storageUnitIds)
StorageFileDaogetStorageFilePathsByStorageUnitIds in interface StorageFileDaostorageUnitIds - the list of storage unit identifierspublic List<String> getStorageFilesByStorageAndFilePathPrefix(String storageName, String filePathPrefix)
StorageFileDaogetStorageFilesByStorageAndFilePathPrefix in interface StorageFileDaostorageName - the storage name (case-insensitive)filePathPrefix - the file path prefix that file paths should matchCopyright © 2019. All rights reserved.