| Package | Description |
|---|---|
| org.finra.herd.dao | |
| org.finra.herd.dao.impl | |
| org.finra.herd.model.jpa | |
| org.finra.herd.service.helper |
| Modifier and Type | Method and Description |
|---|---|
StorageEntity |
StorageDao.getStorageByName(String storageName)
Gets a storage by its name.
|
| Modifier and Type | Method and Description |
|---|---|
List<BusinessObjectDataEntity> |
BusinessObjectDataDao.getBusinessObjectDataFromStorageOlderThan(StorageEntity storageEntity,
int thresholdMinutes,
List<String> businessObjectDataStatuses)
Selects business object data having storage files associated with the specified storage and status.
|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity)
Gets a storage unit identified by the given business object data entity and storage entity.
|
StorageUnitEntity |
StorageUnitDao.getStorageUnitByStorageAndDirectoryPath(StorageEntity storageEntity,
String directoryPath)
Returns a first discovered storage unit in the specified storage that overlaps with the directory path.
|
List<StorageUnitEntity> |
StorageUnitDao.getStorageUnitsByStorageAndBusinessObjectData(StorageEntity storageEntity,
List<BusinessObjectDataEntity> businessObjectDataEntities)
Retrieves a list of storage units that belong to the specified storage for the specified business object data.
|
| Modifier and Type | Method and Description |
|---|---|
StorageEntity |
StorageDaoImpl.getStorageByName(String storageName) |
| Modifier and Type | Method and Description |
|---|---|
List<BusinessObjectDataEntity> |
BusinessObjectDataDaoImpl.getBusinessObjectDataFromStorageOlderThan(StorageEntity storageEntity,
int thresholdMinutes,
List<String> businessObjectDataStatuses) |
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity) |
StorageUnitEntity |
StorageUnitDaoImpl.getStorageUnitByStorageAndDirectoryPath(StorageEntity storageEntity,
String directoryPath) |
List<StorageUnitEntity> |
StorageUnitDaoImpl.getStorageUnitsByStorageAndBusinessObjectData(StorageEntity storageEntity,
List<BusinessObjectDataEntity> businessObjectDataEntities) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.persistence.criteria.Predicate |
AbstractHerdDao.getQueryRestrictionOnStorage(javax.persistence.criteria.CriteriaBuilder builder,
javax.persistence.criteria.From<?,StorageEntity> storageEntity,
javax.persistence.criteria.From<?,StoragePlatformEntity> storagePlatformEntity,
List<String> storageNames,
String storagePlatformType,
String excludedStoragePlatformType)
Builds a query restriction predicate for the storage.
|
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.CollectionAttribute<StorageEntity,StorageAttributeEntity> |
StorageEntity_.attributes |
static javax.persistence.metamodel.SingularAttribute<StorageEntity,String> |
StorageEntity_.name |
static javax.persistence.metamodel.SingularAttribute<StorageUnitEntity,StorageEntity> |
StorageUnitEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<StorageAttributeEntity,StorageEntity> |
StorageAttributeEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<BusinessObjectDataNotificationRegistrationEntity,StorageEntity> |
BusinessObjectDataNotificationRegistrationEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<BusinessObjectDefinitionSampleDataFileEntity,StorageEntity> |
BusinessObjectDefinitionSampleDataFileEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<StoragePolicyEntity,StorageEntity> |
StoragePolicyEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<StorageUnitNotificationRegistrationEntity,StorageEntity> |
StorageUnitNotificationRegistrationEntity_.storage |
static javax.persistence.metamodel.SingularAttribute<StorageEntity,StoragePlatformEntity> |
StorageEntity_.storagePlatform |
| Modifier and Type | Method and Description |
|---|---|
StorageEntity |
StoragePolicyEntity.getStorage() |
StorageEntity |
BusinessObjectDataNotificationRegistrationEntity.getStorage() |
StorageEntity |
BusinessObjectDefinitionSampleDataFileEntity.getStorage() |
StorageEntity |
StorageUnitNotificationRegistrationEntity.getStorage() |
StorageEntity |
StorageUnitEntity.getStorage() |
StorageEntity |
StorageAttributeEntity.getStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
StoragePolicyEntity.setStorage(StorageEntity storage) |
void |
BusinessObjectDataNotificationRegistrationEntity.setStorage(StorageEntity storage) |
void |
BusinessObjectDefinitionSampleDataFileEntity.setStorage(StorageEntity storage) |
void |
StorageUnitNotificationRegistrationEntity.setStorage(StorageEntity storage) |
void |
StorageUnitEntity.setStorage(StorageEntity storage) |
void |
StorageAttributeEntity.setStorage(StorageEntity storage) |
| Modifier and Type | Method and Description |
|---|---|
StorageEntity |
StorageDaoHelper.getStorageEntity(StorageKey storageKey)
Gets a storage entity by storage key and makes sure that it exists.
|
StorageEntity |
StorageDaoHelper.getStorageEntity(String storageName)
Gets a storage entity based on the storage name and makes sure that it exists.
|
| Modifier and Type | Method and Description |
|---|---|
String |
S3KeyPrefixHelper.buildS3KeyPrefix(StorageEntity storageEntity,
BusinessObjectDefinitionKey businessObjectDefinitionKey)
Build S3 key prefix for business object definition key
|
String |
S3KeyPrefixHelper.buildS3KeyPrefix(StorageEntity storageEntity,
BusinessObjectFormatEntity businessObjectFormatEntity,
BusinessObjectDataKey businessObjectDataKey)
Returns the S3 object key prefix based on the given storage, business object format and business object data key.
|
BusinessObjectDataCreateRequest |
BusinessObjectDataHelper.createBusinessObjectDataCreateRequest(BusinessObjectFormatEntity businessObjectFormatEntity,
String uuid,
String businessObjectDataStatus,
List<Attribute> attributes,
StorageEntity storageEntity,
String storageDirectoryPath,
String storageFilePath,
Long storageFileSizeBytes,
Long storageFileRowCount)
Validates the upload single initiation request.
|
StorageUnitEntity |
BusinessObjectDataDaoHelper.createStorageUnitEntity(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean isDiscoverStorageFiles)
Creates a storage unit entity per specified parameters.
|
boolean |
StorageHelper.getBooleanStorageAttributeValueByName(String attributeName,
StorageEntity storageEntity,
boolean attributeRequired,
boolean attributeValueRequiredIfExists)
Gets attribute value by name from the storage entity and returns it as a boolean.
|
S3FileTransferRequestParamsDto |
StorageHelper.getS3BucketAccessParams(StorageEntity storageEntity)
Returns a new instance of S3FileTransferRequestParamsDto populated with all parameters, required to access an S3 bucket.
|
Integer |
StorageHelper.getStorageAttributeIntegerValueByName(String attributeName,
StorageEntity storageEntity,
boolean attributeRequired,
boolean attributeValueRequiredIfExists)
Gets a storage attribute value by name.
|
Integer |
StorageHelper.getStorageAttributeIntegerValueByName(String attributeName,
StorageEntity storageEntity,
Integer defaultValue)
Gets a storage attribute value by name.
|
String |
StorageHelper.getStorageAttributeValueByName(String attributeName,
StorageEntity storageEntity,
boolean attributeValueRequired)
Gets attribute value by name from the storage entity while specifying whether the attribute value is required (i.e.
|
String |
StorageHelper.getStorageAttributeValueByName(String attributeName,
StorageEntity storageEntity,
boolean attributeRequired,
boolean attributeValueRequiredIfExists)
Gets attribute value by name from the storage entity while specifying whether the attribute is required and whether the attribute value is required.
|
String |
StorageHelper.getStorageBucketName(StorageEntity storageEntity)
Gets the storage's bucket name.
|
String |
StorageHelper.getStorageKmsKeyId(StorageEntity storageEntity)
Gets the storage's KMS key ID.
|
StorageUnitEntity |
StorageUnitDaoHelper.getStorageUnitEntityByBusinessObjectDataAndStorage(BusinessObjectDataEntity businessObjectDataEntity,
StorageEntity storageEntity)
Retrieves a storage unit entity for the business object data in the specified storage and make sure it exists.
|
void |
StoragePolicyDaoHelper.validateStoragePolicyFilterStorage(StorageEntity storageEntity)
Validates the storage policy filter storage.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
DdlGenerator.generateCreateTableDdl(BusinessObjectDataDdlRequest request,
BusinessObjectFormatEntity businessObjectFormatEntity,
CustomDdlEntity customDdlEntity,
List<String> storageNames,
Map<String,StorageEntity> storageEntities,
Map<String,String> s3BucketNames)
This method generates the create table DDL as per specified business object data DDL request.
|
String |
Hive13DdlGenerator.generateCreateTableDdl(BusinessObjectDataDdlRequest request,
BusinessObjectFormatEntity businessObjectFormatEntity,
CustomDdlEntity customDdlEntity,
List<String> storageNames,
Map<String,StorageEntity> storageEntities,
Map<String,String> s3BucketNames)
Generates the create table Hive 13 DDL as per specified business object data DDL request.
|
Copyright © 2019. All rights reserved.