public enum ConnectionType extends Enum<ConnectionType>
ConnectionType defines different connections from which the data is extracted.
TODO: (CDAP-14619) make casing consistent. User requests currently must have the type as upper case,
then the lower case version is stored in several places and returned in several responses.| Enum Constant and Description |
|---|
ADLS |
BIGQUERY |
DATABASE |
FILE |
GCS |
KAFKA |
S3 |
SPANNER |
TABLE |
UPLOAD |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet |
CONN_UPGRADABLE_TYPES |
static EnumSet |
WORKSPACE_UPGRADABLE_TYPES |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectorName() |
String |
getType() |
static ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionType UPLOAD
public static final ConnectionType FILE
public static final ConnectionType DATABASE
public static final ConnectionType TABLE
public static final ConnectionType S3
public static final ConnectionType GCS
public static final ConnectionType ADLS
public static final ConnectionType BIGQUERY
public static final ConnectionType KAFKA
public static final ConnectionType SPANNER
public static final EnumSet CONN_UPGRADABLE_TYPES
public static final EnumSet WORKSPACE_UPGRADABLE_TYPES
public static ConnectionType[] values()
for (ConnectionType c : ConnectionType.values()) System.out.println(c);
public static ConnectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getType()
Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.