DatabaseFileType Class

public final class DatabaseFileType
extends ExpandableStringEnum<DatabaseFileType>

An enumeration of SQL Server database file types.

Field Summary

Modifier and Type Field and Description
static final DatabaseFileType FILESTREAM

Static value Filestream for DatabaseFileType.

static final DatabaseFileType FULLTEXT

Static value Fulltext for DatabaseFileType.

static final DatabaseFileType LOG

Static value Log for DatabaseFileType.

static final DatabaseFileType NOT_SUPPORTED

Static value NotSupported for DatabaseFileType.

static final DatabaseFileType ROWS

Static value Rows for DatabaseFileType.

Constructor Summary

Constructor Description
DatabaseFileType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DatabaseFileType value.

Method Summary

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

Creates or finds a DatabaseFileType from its string representation.

static Collection<DatabaseFileType> values()

Gets known DatabaseFileType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FILESTREAM

public static final DatabaseFileType FILESTREAM

Static value Filestream for DatabaseFileType.

FULLTEXT

public static final DatabaseFileType FULLTEXT

Static value Fulltext for DatabaseFileType.

LOG

public static final DatabaseFileType LOG

Static value Log for DatabaseFileType.

NOT_SUPPORTED

public static final DatabaseFileType NOT_SUPPORTED

Static value NotSupported for DatabaseFileType.

ROWS

public static final DatabaseFileType ROWS

Static value Rows for DatabaseFileType.

Constructor Details

DatabaseFileType

@Deprecated
public DatabaseFileType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DatabaseFileType value.

Method Details

fromString

public static DatabaseFileType fromString(String name)

Creates or finds a DatabaseFileType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DatabaseFileType.

values

public static Collection<DatabaseFileType> values()

Gets known DatabaseFileType values.

Returns:

known DatabaseFileType values.

Applies to