390 lines
16 KiB
Markdown
Raw Normal View History

# Database Service Entity
2021-08-01 14:27:44 -07:00
## databaseservice
```text
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
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | Yes | Unknown status | No | Forbidden | Allowed | none | [databaseService.json](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/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 Type
2021-08-01 14:27:44 -07:00
`object` \([Database service entity](databaseservice.md)\)
2021-08-01 14:27:44 -07:00
## Database service entity Properties
2021-08-01 14:27:44 -07:00
| Property | Type | Required | Nullable | Defined by |
| :--- | :--- | :--- | :--- | :--- |
| [id](databaseservice.md#id) | `string` | Required | cannot be null | [Basic type](../types/basic.md#basic-definitions-uuid) |
| [name](databaseservice.md#name) | `string` | Required | cannot be null | [Database service entity](databaseservice.md#databaseservice-Properties-Name) |
| [serviceType](databaseservice.md#servicetype) | `string` | Required | cannot be null | [Database service entity](databaseservice.md#databaseservice-properties-servicetype) |
| [description](databaseservice.md#description) | `string` | Optional | cannot be null | [Database service entity](databaseservice.md#databaseservice-properties-description) |
| [href](databaseservice.md#href) | `string` | Required | cannot be null | [Basic type](../types/basic.md#basic-definitions-href) |
| [jdbc](databaseservice.md#jdbc) | `object` | Required | cannot be null | [Jdbc Connection type](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo) |
| [ingestionSchedule](databaseservice.md#ingestionschedule) | `object` | Optional | cannot be null | [Schedule type](../types/schedule.md) |
2021-08-01 14:27:44 -07:00
### id
2021-08-01 14:27:44 -07:00
Unique id used to identify an entity
`id`
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type](../types/basic.md#basic-definitions-uuid)
2021-08-04 06:53:40 +00:00
#### id Type
2021-08-01 14:27:44 -07:00
`string`
#### id Constraints
2021-08-01 14:27:44 -07:00
**UUID**: the string must be a UUID, according to [RFC 4122](https://tools.ietf.org/html/rfc4122)
2021-08-01 14:27:44 -07: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`
* is required
* Type: `string`
* cannot be null
* defined in: [Database service entity](databaseservice.md#databaseservice-Properties-Name)
2021-08-04 06:53:40 +00:00
#### name Type
2021-08-01 14:27:44 -07:00
`string`
#### 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`
### serviceType
2021-08-01 14:27:44 -07:00
Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...
`serviceType`
* is required
* Type: `string`
* cannot be null
* defined in: [Database service entity](databaseservice.md#databaseservice-properties-servicetype)
2021-08-04 06:53:40 +00:00
#### serviceType Type
2021-08-01 14:27:44 -07:00
`string`
#### 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:
| Value | Explanation |
| :--- | :--- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |
2021-08-01 14:27:44 -07:00
### description
2021-08-01 14:27:44 -07:00
Description of database service instance.
`description`
* is optional
* Type: `string`
* cannot be null
* defined in: [Database service entity](databaseservice.md#databaseservice-properties-description)
2021-08-04 06:53:40 +00:00
#### description Type
2021-08-01 14:27:44 -07:00
`string`
### href
2021-08-01 14:27:44 -07:00
Link to the resource corresponding to this entity
> Link to the resource
`href`
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type](../types/basic.md#basic-definitions-href)
2021-08-04 06:53:40 +00:00
#### href Type
2021-08-01 14:27:44 -07:00
`string`
#### href Constraints
2021-08-01 14:27:44 -07:00
**URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc3986)
2021-08-01 14:27:44 -07:00
### jdbc
2021-08-01 14:27:44 -07:00
> Type for capturing JDBC connector information
`jdbc`
* is required
* Type: `object` \([Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)\)
* cannot be null
* defined in: [Jdbc Connection type](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)
2021-08-01 14:27:44 -07:00
#### jdbc Type
2021-08-01 14:27:44 -07:00
`object` \([Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)\)
2021-08-04 06:53:40 +00:00
### ingestionSchedule
2021-08-04 06:53:40 +00:00
Type used for schedule with start time and repeat frequency
2021-08-01 14:27:44 -07:00
`ingestionSchedule`
* is optional
* Type: `object` \([Type used for schedule with start time and repeat frequency](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/schedule.md)\)
* cannot be null
* defined in: [Schedule type](../types/schedule.md)
2021-08-01 14:27:44 -07:00
#### ingestionSchedule Type
2021-08-01 14:27:44 -07:00
`object` \([Type used for schedule with start time and repeat frequency](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/schedule.md)\)
2021-08-01 14:27:44 -07:00
## Database service entity Definitions
2021-08-01 14:27:44 -07:00
### Definitions group databaseServiceType
2021-08-01 14:27:44 -07:00
Reference this group by using
```javascript
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
2021-08-04 06:53:40 +00:00
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
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
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
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
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
2021-08-04 06:53:40 +00:00
### 2 Type
2021-08-04 06:53:40 +00:00
unknown
## databaseservice-definitions-databaseservicetype-javaenums-3
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
2021-08-04 06:53:40 +00:00
### 3 Type
2021-08-04 06:53:40 +00:00
unknown
## databaseservice-definitions-databaseservicetype-javaenums-4
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
2021-08-04 06:53:40 +00:00
### 4 Type
2021-08-04 06:53:40 +00:00
unknown
## databaseservice-definitions-databaseservicetype-javaenums-5
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
2021-08-04 06:53:40 +00:00
### 5 Type
2021-08-04 06:53:40 +00:00
unknown
## databaseservice-definitions-databaseservicetype-javaenums-6
```text
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 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json) |
2021-08-04 06:53:40 +00:00
### 6 Type
2021-08-04 06:53:40 +00:00
unknown
## databaseservice-definitions-databaseservicetype
```text
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...
| 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\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/out/api/services/createDatabaseService.json) |
2021-08-01 14:27:44 -07:00
### serviceType Type
2021-08-01 14:27:44 -07:00
`string`
### 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:
| Value | Explanation |
| :--- | :--- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |
2021-08-01 14:27:44 -07:00
## databaseservice-definitions
2021-08-01 14:27:44 -07:00
```text
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions
```
2021-08-01 14:27:44 -07:00
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/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
### definitions Type
2021-08-01 14:27:44 -07:00
unknown
## databaseservice-properties-description
```text
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.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/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
### description Type
2021-08-01 14:27:44 -07:00
`string`
## databaseservice-properties-name
```text
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
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/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
### name Type
2021-08-01 14:27:44 -07:00
`string`
### 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`
## databaseservice-properties-servicetype
```text
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...
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [databaseService.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/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
### serviceType Type
2021-08-01 14:27:44 -07:00
`string`
### 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:
| Value | Explanation |
| :--- | :--- |
| `"BigQuery"` | |
| `"MySQL"` | |
| `"Redshift"` | |
| `"Snowflake"` | |
| `"Postgres"` | |
| `"MSSQL"` | |
| `"Hive"` | |