413 lines
22 KiB
Markdown
Raw Normal View History

2021-08-04 06:53:40 +00:00
# databaseservice
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json
2021-08-01 14:27:44 -07:00
```
Database service entity that reference services such as MySQL, BigQuery, Redshift, Postgres or Snowflake
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :-------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | Yes | Unknown status | No | Forbidden | Allowed | none | [databaseService.json](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## Database service entity Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
`object` ([Database service entity](databaseservice.md))
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
# Database service entity Properties
2021-08-01 14:27:44 -07:00
2021-08-04 07:49:14 +00:00
| Property | Type | Required | Nullable | Defined by |
| :-------------------------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2021-08-04 06:53:40 +00:00
| [id](#id) | `string` | Required | cannot be null | [Basic type](../types/basic.md#basic-definitions-uuid) |
2021-08-04 13:18:14 +05:30
| [name](#name) | `string` | Required | cannot be null | [Database service entity](#databaseservice-Properties-Name "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/name") |
| [serviceType](#servicetype) | `string` | Required | cannot be null | [Database service entity](#databaseservice-properties-servicetype "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/serviceType") |
| [description](#description) | `string` | Optional | cannot be null | [Database service entity](#databaseservice-properties-description "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/description") |
2021-08-04 06:53:40 +00:00
| [href](#href) | `string` | Required | cannot be null | [Basic type](../types/basic.md#basic-definitions-href) |
| [jdbc](#jdbc) | `object` | Required | cannot be null | [Jdbc Connection type](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo) |
| [ingestionSchedule](#ingestionschedule) | `object` | Optional | cannot be null | [Schedule type](../types/schedule.md) |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## id
2021-08-01 14:27:44 -07:00
Unique id used to identify an entity
`id`
2021-08-04 06:53:40 +00:00
* is required
* Type: `string`
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* cannot be null
* defined in: [Basic type](../types/basic.md#basic-definitions-uuid)
### id Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
### id Constraints
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
**UUID**: the string must be a UUID, according to [RFC 4122](https://tools.ietf.org/html/rfc4122 "check the specification")
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## name
2021-08-01 14:27:44 -07:00
Name that identifies the this entity instance uniquely. Same as id if when name is not unique
`name`
2021-08-04 06:53:40 +00:00
* is required
* Type: `string`
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* cannot be null
2021-08-04 13:18:14 +05:30
* defined in: [Database service entity](#databaseservice-Properties-Name "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/name")
2021-08-04 06:53:40 +00:00
### name Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
2021-08-04 06:53:40 +00:00
## serviceType
2021-08-01 14:27:44 -07:00
Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
`serviceType`
2021-08-04 06:53:40 +00:00
* is required
* Type: `string`
* cannot be null
2021-08-01 14:27:44 -07:00
2021-08-04 13:18:14 +05:30
* defined in: [Database service entity](#databaseservice-properties-servicetype "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/serviceType")
2021-08-04 06:53:40 +00:00
### serviceType Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
### serviceType Constraints
2021-08-01 14:27:44 -07:00
**enum**: the value of this property must be equal to one of the following values:
2021-08-04 06:53:40 +00:00
| Value | Explanation |
| :------------ | :---------- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## description
2021-08-01 14:27:44 -07:00
Description of database service instance.
`description`
2021-08-04 06:53:40 +00:00
* is optional
* Type: `string`
* cannot be null
2021-08-04 13:18:14 +05:30
* defined in: [Database service entity](#databaseservice-properties-description "https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/description")
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
### description Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
## href
2021-08-01 14:27:44 -07:00
Link to the resource corresponding to this entity
> Link to the resource
`href`
2021-08-04 06:53:40 +00:00
* is required
* Type: `string`
* cannot be null
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* defined in: [Basic type](../types/basic.md#basic-definitions-href)
### href Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
### href Constraints
**URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc3986 "check the specification")
## jdbc
2021-08-01 14:27:44 -07:00
> Type for capturing JDBC connector information
`jdbc`
2021-08-04 06:53:40 +00:00
* is required
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* Type: `object` ([Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo))
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* cannot be null
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
* defined in: [Jdbc Connection type](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
### jdbc Type
`object` ([Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo))
## ingestionSchedule
Type used for schedule with start time and repeat frequency
2021-08-01 14:27:44 -07:00
`ingestionSchedule`
2021-08-04 06:53:40 +00:00
* is optional
* Type: `object` ([Type used for schedule with start time and repeat frequency](schedule.md))
* cannot be null
* defined in: [Schedule type](../types/schedule.md)
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
### ingestionSchedule Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
`object` ([Type used for schedule with start time and repeat frequency](schedule.md))
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
# Database service entity Definitions
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## Definitions group databaseServiceType
2021-08-01 14:27:44 -07:00
Reference this group by using
2021-08-04 06:53:40 +00:00
```json
2021-08-04 13:18:14 +05:30
{"$ref":"https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType"}
2021-08-01 14:27:44 -07:00
```
| Property | Type | Required | Nullable | Defined by |
2021-08-04 06:53:40 +00:00
| :------- | :--- | :------- | :------- | :--------- |
# databaseservice-definitions-databaseservicetype-javaenums-0
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/0
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 0 Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
unknown
# databaseservice-definitions-databaseservicetype-javaenums-1
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/1
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## 1 Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
unknown
# databaseservice-definitions-databaseservicetype-javaenums-2
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/2
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 2 Type
unknown
# databaseservice-definitions-databaseservicetype-javaenums-3
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/3
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 3 Type
unknown
# databaseservice-definitions-databaseservicetype-javaenums-4
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/4
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 4 Type
unknown
# databaseservice-definitions-databaseservicetype-javaenums-5
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/5
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 5 Type
unknown
# databaseservice-definitions-databaseservicetype-javaenums-6
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType/javaEnums/6
2021-08-04 06:53:40 +00:00
```
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-04 06:53:40 +00:00
## 6 Type
unknown
# databaseservice-definitions-databaseservicetype
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/api/services/createDatabaseService.json#/properties/serviceType
2021-08-01 14:27:44 -07:00
```
Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------------------------------ |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [createDatabaseService.json*](../../../../out/api/services/createDatabaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## serviceType Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
## serviceType Constraints
2021-08-01 14:27:44 -07:00
**enum**: the value of this property must be equal to one of the following values:
2021-08-04 06:53:40 +00:00
| Value | Explanation |
| :------------ | :---------- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |
# databaseservice-definitions
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions
2021-08-04 06:53:40 +00:00
```
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## definitions Type
2021-08-01 14:27:44 -07:00
unknown
2021-08-04 06:53:40 +00:00
# databaseservice-properties-description
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/description
2021-08-01 14:27:44 -07:00
```
Description of database service instance.
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## description Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
# databaseservice-properties-name
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/name
2021-08-01 14:27:44 -07:00
```
Name that identifies the this entity instance uniquely. Same as id if when name is not unique
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## name Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
## name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
2021-08-04 06:53:40 +00:00
# databaseservice-properties-servicetype
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
```txt
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/serviceType
2021-08-01 14:27:44 -07:00
```
Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
2021-08-04 06:53:40 +00:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :--------------------------------------------------------------------------------------------------- |
2021-08-04 13:18:14 +05:30
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json*](../../https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json "open original schema") |
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
## serviceType Type
2021-08-01 14:27:44 -07:00
`string`
2021-08-04 06:53:40 +00:00
## serviceType Constraints
2021-08-01 14:27:44 -07:00
**enum**: the value of this property must be equal to one of the following values:
2021-08-04 06:53:40 +00:00
| Value | Explanation |
| :------------ | :---------- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |