org.apache.spark.sql.herd

DefaultHerdApi

class DefaultHerdApi extends HerdApi with Retry

Linear Supertypes
Retry, HerdApi, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultHerdApi
  2. Retry
  3. HerdApi
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultHerdApi(apiClient: ApiClient)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getAllNamespaces: NamespaceKeys

    Retrieve all namespace keys.

    Retrieve all namespace keys.

    returns

    List of namespace keys

    Definition Classes
    DefaultHerdApiHerdApi
  10. def getBusinessObjectByName(namespace: String, businessObjectDefinitionName: String): BusinessObjectDefinition

    Retrieve the business object definition by the namespace and business object values.

    Retrieve the business object definition by the namespace and business object values.

    namespace

    The namespace name

    returns

    The business object definition

    Definition Classes
    DefaultHerdApiHerdApi
  11. def getBusinessObjectData(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValue: String, subPartitionValues: Seq[String], dataVersion: Integer): BusinessObjectData

    Get the business object data based on the specified parameters

    Get the business object data based on the specified parameters

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValue

    The partition value that the data is associated with (e.g. a specific trade date such as 20140401).

    subPartitionValues

    list of sub partition values

    dataVersion

    The version of the business object data (e.g. 0).

    returns

    the business object data

    Definition Classes
    DefaultHerdApiHerdApi
  12. def getBusinessObjectDataApi(apiClient: ApiClient): BusinessObjectDataApi

  13. def getBusinessObjectDataAvailability(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, partitionKey: String, firstPartitionValue: String, lastPartitionValue: String): BusinessObjectDataAvailability

    Retrieves the business object data availability

    Retrieves the business object data availability

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    partitionKey

    The business object format partition key.

    firstPartitionValue

    The first partition value

    lastPartitionValue

    The last partition value

    returns

    The business object data availability

    Definition Classes
    DefaultHerdApiHerdApi
  14. def getBusinessObjectDataGenerateDdl(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValues: Seq[String], dataVersion: Integer): BusinessObjectDataDdl

    Retrieves the DDL to initialize the specified type of the database system (e.

    Retrieves the DDL to initialize the specified type of the database system (e.g. Hive) to perform queries for a range of requested business object data in the optionally specified storage of the S3 storage platform type.

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValues

    The list of partition values that the data is associated with (e.g. a specific trade date such as 20140401).

    dataVersion

    The version of the business object data (e.g. 0).

    returns

    The business object data DDL

    Definition Classes
    DefaultHerdApiHerdApi
  15. def getBusinessObjectDataStatusApi(apiClient: ApiClient): BusinessObjectDataStatusApi

  16. def getBusinessObjectDataStorageFileApi(apiClient: ApiClient): BusinessObjectDataStorageFileApi

  17. def getBusinessObjectDefinitionApi(apiClient: ApiClient): BusinessObjectDefinitionApi

  18. def getBusinessObjectFormat(namespace: String, businessObjectDefinitionName: String, formatUsage: String, formatFileType: String, formatVersion: Integer): BusinessObjectFormat

    Retrieve a single business object format

    Retrieve a single business object format

    namespace

    The namespace value

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    returns

    single business object format

    Definition Classes
    DefaultHerdApiHerdApi
  19. def getBusinessObjectFormatApi(apiClient: ApiClient): BusinessObjectFormatApi

  20. def getBusinessObjectFormats(namespace: String, businessObjectName: String, latestBusinessObjectFormatVersion: Boolean = true): BusinessObjectFormatKeys

    Retrieve list of business object formats based on the namespace and business object definition

    Retrieve list of business object formats based on the namespace and business object definition

    namespace

    The namespace

    businessObjectName

    The business object definition name

    returns

    list of business object formats

    Definition Classes
    DefaultHerdApiHerdApi
  21. def getBusinessObjectPartitions(namespace: String, businessObjectDefinitionName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionFilter: Option[PartitionFilter]): Seq[(Integer, String, Seq[String], Integer)]

    Retrieve all available partitions

    Retrieve all available partitions

    namespace

    The namespace

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionFilter

    the partition filter

    returns

    list of partitions

    Definition Classes
    DefaultHerdApiHerdApi
  22. def getBusinessObjectsByNamespace(namespace: String): BusinessObjectDefinitionKeys

    Retrieve all business object definitions by namespace.

    Retrieve all business object definitions by namespace.

    namespace

    The namespace name

    returns

    List of business object definition keys

    Definition Classes
    DefaultHerdApiHerdApi
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def getNamespaceApi(apiClient: ApiClient): NamespaceApi

  25. def getNamespaceByNamespaceCode(namespaceCode: String): Namespace

    Retrieve namespace by namespace code.

    Retrieve namespace by namespace code.

    namespaceCode

    The namespace code

    returns

    The namespace.

    Definition Classes
    DefaultHerdApiHerdApi
  26. def getStorage(name: String): Storage

    Gets information about an existing storage.

    Gets information about an existing storage.

    name

    storage name

    returns

    The storage

    Definition Classes
    DefaultHerdApiHerdApi
  27. def getStorageApi(apiClient: ApiClient): StorageApi

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val log: Logger

    Definition Classes
    DefaultHerdApiRetry
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def registerBusinessObject(namespace: String, businessObjectName: String, dataProvider: String): Unit

    Create a business object definition

    Create a business object definition

    namespace

    The namespace value

    businessObjectName

    The business object definition

    dataProvider

    The name of a valid data provider known by the system.

    Definition Classes
    DefaultHerdApiHerdApi
  35. def registerBusinessObjectData(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValue: String, subPartitionValues: Seq[String], status: ObjectStatus.Value, storageName: String, storageDirectory: Option[String] = None): (Integer, Seq[StorageUnit])

    Create a business object data based on the specified parameters

    Create a business object data based on the specified parameters

    namespace

    namespace

    businessObjectName

    business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValue

    The partition value that the data is associated with (e.g. a specific trade date such as 20140401).

    subPartitionValues

    list of sub partitions

    status

    the status of the business object data(UPLOADING, VALID, INVALID...etc)

    storageName

    the storage name

    storageDirectory

    the storage directory

    returns

    the business object data

    Definition Classes
    DefaultHerdApiHerdApi
  36. def registerBusinessObjectFormat(namespace: String, businessObjectDefinitionName: String, formatUsage: String, formatFileType: String, partitionKey: String, schema: Option[Schema]): Integer

    Create a new business object format

    Create a new business object format

    namespace

    The namespace

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    partitionKey

    The business object format partition key.

    schema

    An optional schema associated with this business object format.

    returns

    business object format version

    Definition Classes
    DefaultHerdApiHerdApi
  37. def removeBusinessObjectData(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValue: String, subPartitionValues: Seq[String], dataVersion: Integer): Unit

    Deletes an existing business object data based on the specified parameters.

    Deletes an existing business object data based on the specified parameters.

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValue

    The partition value that the data is associated with (e.g. a specific trade date such as 20140401).

    subPartitionValues

    The list of subpartition values of the business object data.

    dataVersion

    The version of the business object data (e.g. 0).

    Definition Classes
    DefaultHerdApiHerdApi
  38. def removeBusinessObjectDefinition(namespace: String, businessObjectName: String): Unit

    Deletes an existing business object definition based on the specified parameters.

    Deletes an existing business object definition based on the specified parameters.

    namespace

    The namespace

    businessObjectName

    The business object definition name

    Definition Classes
    DefaultHerdApiHerdApi
  39. def removeBusinessObjectFormat(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer): Unit

    Deletes an existing business object format based on the specified parameters.

    Deletes an existing business object format based on the specified parameters.

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    Definition Classes
    DefaultHerdApiHerdApi
  40. def searchBusinessObjectData(businessObjectDataSearchRequest: BusinessObjectDataSearchRequest, pageNum: Integer = 1, pageSize: Integer = 1000): BusinessObjectDataSearchResult

    Search the business object data based on the specified parameters

    Search the business object data based on the specified parameters

    businessObjectDataSearchRequest

    The search request

    pageNum

    The page number

    pageSize

    The page size

    returns

    the business object data search result

    Definition Classes
    DefaultHerdApiHerdApi
  41. def setStorageFiles(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValue: String, subPartitionValues: Seq[String], dataVersion: Integer, storageName: String, files: Seq[(String, Long)]): Unit

    Add storage files to an existing storage unit in a business object data

    Add storage files to an existing storage unit in a business object data

    namespace

    namespace

    businessObjectName

    business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValue

    The partition value that the data is associated with (e.g. a specific trade date such as 20140401).

    subPartitionValues

    The list of subpartition values of the business object data.

    dataVersion

    The version of the business object data (e.g. 0).

    storageName

    The storage name

    files

    The list of storage files that need to be added to the storage unit

    Definition Classes
    DefaultHerdApiHerdApi
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def updateBusinessObjectData(namespace: String, businessObjectName: String, formatUsage: String, formatFileType: String, formatVersion: Integer, partitionKey: String, partitionValue: String, subPartitionValues: Seq[String], dataVersion: Integer, status: ObjectStatus.Value): Unit

    Updates an existing business object data based on the specified parameters.

    Updates an existing business object data based on the specified parameters.

    namespace

    The namespace

    businessObjectName

    The business object definition name

    formatUsage

    The business object format usage (e.g. PRC).

    formatFileType

    The business object format file type (e.g. GZ).

    formatVersion

    The version of the business object format (e.g. 0).

    partitionKey

    The business object format partition key.

    partitionValue

    The partition value that the data is associated with (e.g. a specific trade date such as 20140401).

    subPartitionValues

    The list of subpartition values of the business object data.

    dataVersion

    The version of the business object data (e.g. 0).

    status

    The business object data status

    Definition Classes
    DefaultHerdApiHerdApi
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def withRetry[T](block: ⇒ T): T

    Definition Classes
    Retry

Inherited from Retry

Inherited from HerdApi

Inherited from AnyRef

Inherited from Any

Ungrouped