public interface BusinessObjectDataDao extends BaseJpaDao
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectDataEntity |
getBusinessObjectDataByAltKey(BusinessObjectDataKey businessObjectDataKey)
Retrieves business object data by it's key.
|
BusinessObjectDataEntity |
getBusinessObjectDataByAltKeyAndStatus(BusinessObjectDataKey businessObjectDataKey,
String businessObjectDataStatus)
Retrieves business object data by it's key.
|
Long |
getBusinessObjectDataCount(BusinessObjectFormatKey businessObjectFormatKey)
Returns a number of business object data instances registered with this business object format.
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataEntities(BusinessObjectDataKey businessObjectDataKey)
Retrieves business object data versions that match the specified business object data key with potentially missing business object format and/or data
version values.
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataEntities(BusinessObjectFormatKey businessObjectFormatKey,
List<List<String>> partitionFilters,
Integer businessObjectDataVersion,
String businessObjectDataStatus,
String storageName)
Retrieves a list of business object data entities per specified parameters.
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataEntitiesByPartitionValue(String partitionValue)
Retrieves a list of business object data by their partition value.
|
Map<BusinessObjectDataEntity,StoragePolicyEntity> |
getBusinessObjectDataEntitiesMatchingStoragePolicies(StoragePolicyPriorityLevel storagePolicyPriorityLevel,
List<String> supportedBusinessObjectDataStatuses,
int startPosition,
int maxResult)
Retrieves a map of business object data entities to their corresponding storage policy entities, where the business object data status is supported by
the storage policy feature and the business object data alternate key values match storage policy's filter and transition (not taking into account
storage policy rules).
|
List<BusinessObjectDataEntity> |
getBusinessObjectDataFromStorageOlderThan(String storageName,
int thresholdMinutes,
List<String> businessObjectDataStatusesToIgnore)
Selects business object data having storage files associated with the specified storage and with status not listed as ignored.
|
String |
getBusinessObjectDataMaxPartitionValue(int partitionColumnPosition,
BusinessObjectFormatKey businessObjectFormatKey,
Integer businessObjectDataVersion,
String businessObjectDataStatus,
List<String> storageNames,
String storagePlatformType,
String excludedStoragePlatformType,
String upperBoundPartitionValue,
String lowerBoundPartitionValue)
Retrieves a maximum available partition value per specified parameters.
|
Integer |
getBusinessObjectDataMaxVersion(BusinessObjectDataKey businessObjectDataKey)
Gets a maximum available version of the specified business object data.
|
String |
getBusinessObjectDataMinPartitionValue(int partitionColumnPosition,
BusinessObjectFormatKey businessObjectFormatKey,
Integer businessObjectDataVersion,
String businessObjectDataStatus,
List<String> storageNames,
String storagePlatformType,
String excludedStoragePlatformType)
Retrieves a minimum available partition value per specified parameters.
|
List<BusinessObjectData> |
searchBusinessObjectData(List<BusinessObjectDataSearchFilter> filters)
Retrieves a list of business object data by list of filters
|
delete, detach, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, query, queryByNamedParams, save, saveAndRefreshBusinessObjectDataEntity getBusinessObjectDataByAltKey(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data keyBusinessObjectDataEntity getBusinessObjectDataByAltKeyAndStatus(BusinessObjectDataKey businessObjectDataKey, String businessObjectDataStatus)
businessObjectDataKey - the business object data keybusinessObjectDataStatus - the business object data status. This parameter is ignored when the business object data version is specified.Integer getBusinessObjectDataMaxVersion(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data keyString getBusinessObjectDataMaxPartitionValue(int partitionColumnPosition, BusinessObjectFormatKey businessObjectFormatKey, Integer businessObjectDataVersion, String businessObjectDataStatus, List<String> storageNames, String storagePlatformType, String excludedStoragePlatformType, String upperBoundPartitionValue, String lowerBoundPartitionValue)
partitionColumnPosition - the partition column position (1-based numbering)businessObjectFormatKey - the business object format key (case-insensitive). If a business object format version isn't specified, the latest
available format version for each partition value will be used.businessObjectDataVersion - the business object data version. If a business object data version isn't specified, the latest data version based on
the specified business object data status will be used for each partition value.businessObjectDataStatus - the business object data status. This parameter is ignored when the business object data version is specified.storageNames - the optional list of storage names (case-insensitive)storagePlatformType - the optional storage platform type, e.g. S3 for Hive DDL. It is ignored when the list of storages is not emptyexcludedStoragePlatformType - the optional storage platform type to be excluded from search. It is ignored when the list of storages is not empty or
the storage platform type is specifiedupperBoundPartitionValue - the optional inclusive upper bound for the maximum available partition valuelowerBoundPartitionValue - the optional inclusive lower bound for the maximum available partition valueString getBusinessObjectDataMinPartitionValue(int partitionColumnPosition, BusinessObjectFormatKey businessObjectFormatKey, Integer businessObjectDataVersion, String businessObjectDataStatus, List<String> storageNames, String storagePlatformType, String excludedStoragePlatformType)
partitionColumnPosition - the partition column position (1-based numbering)businessObjectFormatKey - the business object format key (case-insensitive). If a business object format version isn't specified, the latest
available format version for each partition value will be used.businessObjectDataVersion - the business object data version. If a business object data version isn't specified, the latest data version based on
the specified business object data status will be used for each partition value.businessObjectDataStatus - the business object data status. This parameter is ignored when the business object data version is specified.storageNames - the optional list of storage names (case-insensitive)storagePlatformType - the optional storage platform type, e.g. S3 for Hive DDL. It is ignored when the list of storages is not emptyexcludedStoragePlatformType - the optional storage platform type to be excluded from search. It is ignored when the list of storages is not empty or
the storage platform type is specifiedLong getBusinessObjectDataCount(BusinessObjectFormatKey businessObjectFormatKey)
businessObjectFormatKey - the business object format keyList<BusinessObjectDataEntity> getBusinessObjectDataEntities(BusinessObjectDataKey businessObjectDataKey)
businessObjectDataKey - the business object data key with potentially missing business object format and/or data version valuesList<BusinessObjectDataEntity> getBusinessObjectDataEntities(BusinessObjectFormatKey businessObjectFormatKey, List<List<String>> partitionFilters, Integer businessObjectDataVersion, String businessObjectDataStatus, String storageName)
businessObjectFormatKey - the business object format key (case-insensitive). If a business object format version isn't specified, the latest
available format version for each partition value will be used.partitionFilters - the list of partition filter to be used to select business object data instances. Each partition filter contains a list of
primary and sub-partition values in the right order up to the maximum partition levels allowed by business object data registration - with partition
values for the relative partitions not to be used for selection passed as nulls.businessObjectDataVersion - the business object data version. If a business object data version isn't specified, the latest data version based on
the specified business object data status is returned.businessObjectDataStatus - the business object data status. This parameter is ignored when the business object data version is specified. When
business object data version and business object data status both are not specified, the latest data version for each set of partition values will be
used regardless of the status.storageName - the name of the storage where the business object data storage unit is located (case-insensitive)List<BusinessObjectDataEntity> getBusinessObjectDataFromStorageOlderThan(String storageName, int thresholdMinutes, List<String> businessObjectDataStatusesToIgnore)
storageName - the storage namethresholdMinutes - the expiration time in minutesbusinessObjectDataStatusesToIgnore - the list of business object data statuses to ignoreMap<BusinessObjectDataEntity,StoragePolicyEntity> getBusinessObjectDataEntitiesMatchingStoragePolicies(StoragePolicyPriorityLevel storagePolicyPriorityLevel, List<String> supportedBusinessObjectDataStatuses, int startPosition, int maxResult)
storagePolicyPriorityLevel - the storage policy priority levelsupportedBusinessObjectDataStatuses - the list of business object data statuses that storage policies apply tostartPosition - the position of the first result, numbered from 0maxResult - the maximum number of results to retrieveList<BusinessObjectDataEntity> getBusinessObjectDataEntitiesByPartitionValue(String partitionValue)
partitionValue - The partition valueList<BusinessObjectData> searchBusinessObjectData(List<BusinessObjectDataSearchFilter> filters)
filters - search filtersCopyright © 2017. All rights reserved.