Enum SyntaxHighlightStyle.BuiltInStyle
java.lang.Object
java.lang.Enum<SyntaxHighlightStyle.BuiltInStyle>
org.apache.flink.table.client.cli.parser.SyntaxHighlightStyle.BuiltInStyle
- All Implemented Interfaces:
Serializable,Comparable<SyntaxHighlightStyle.BuiltInStyle>
- Enclosing class:
- SyntaxHighlightStyle
public static enum SyntaxHighlightStyle.BuiltInStyle
extends Enum<SyntaxHighlightStyle.BuiltInStyle>
Pre-defined highlight styles.
The CHESTER, DRACULA, SOLARIZED and VS2010 styles are
inspired by Gillis's
Colour schemes for Oracle SQL Developer (not the same but more or less similar).
Similarly, the OBSIDIAN style is inspired by ozmoroz's OzBsidian colour scheme
for Oracle SQL Developer.
Similarly, the GESHI style is inspired by GeSHi - Generic
Syntax Highlighter for sql
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromString(String styleName) Returns the enum constant of this type with the specified name.static SyntaxHighlightStyle.BuiltInStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
-
DARK
-
LIGHT
-
CHESTER
-
DRACULA
-
SOLARIZED
-
VS2010
-
OBSIDIAN
-
GESHI
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHighlightStyle
-
fromString
-