Partager via


Type Class

public final class Type
extends ExpandableStringEnum<Type>

Type of the connection string.

Field Summary

Modifier and Type Field and Description
static final Type CASSANDRA

Static value Cassandra for Type.

static final Type CASSANDRA_CONNECTOR_METADATA

Static value CassandraConnectorMetadata for Type.

static final Type GREMLIN

Static value Gremlin for Type.

static final Type GREMLIN_V2

Static value GremlinV2 for Type.

static final Type MONGO_DB

Static value MongoDB for Type.

static final Type SQL

Static value Sql for Type.

static final Type SQL_DEDICATED_GATEWAY

Static value SqlDedicatedGateway for Type.

static final Type TABLE

Static value Table for Type.

static final Type UNDEFINED

Static value Undefined for Type.

Constructor Summary

Constructor Description
Type()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Type value.

Method Summary

Modifier and Type Method and Description
static Type fromString(String name)

Creates or finds a Type from its string representation.

static Collection<Type> values()

Gets known Type values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CASSANDRA

public static final Type CASSANDRA

Static value Cassandra for Type.

CASSANDRA_CONNECTOR_METADATA

public static final Type CASSANDRA_CONNECTOR_METADATA

Static value CassandraConnectorMetadata for Type.

GREMLIN

public static final Type GREMLIN

Static value Gremlin for Type.

GREMLIN_V2

public static final Type GREMLIN_V2

Static value GremlinV2 for Type.

MONGO_DB

public static final Type MONGO_DB

Static value MongoDB for Type.

SQL

public static final Type SQL

Static value Sql for Type.

SQL_DEDICATED_GATEWAY

public static final Type SQL_DEDICATED_GATEWAY

Static value SqlDedicatedGateway for Type.

TABLE

public static final Type TABLE

Static value Table for Type.

UNDEFINED

public static final Type UNDEFINED

Static value Undefined for Type.

Constructor Details

Type

@Deprecated
public Type()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Type value.

Method Details

fromString

public static Type fromString(String name)

Creates or finds a Type from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Type.

values

public static Collection values()

Gets known Type values.

Returns:

known Type values.

Applies to