public class NameChecker extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
pattern_name
The constraint on schema and column names.
|
Constructor and Description |
---|
NameChecker() |
Modifier and Type | Method and Description |
---|---|
static void |
assertColumnName(String s)
Assert that the string is valid as the name of a column.
|
static void |
assertSchemaName(String s)
Assert that the string is valid as the name of a schema.
|
public static final Pattern pattern_name
public static void assertSchemaName(String s) throws IllegalArgumentException
.
,
_
, -
, or /
}.s
- The string.IllegalArgumentException
- if the string is not valid as the name of a schema.public static void assertColumnName(String s) throws IllegalArgumentException
.
,
_
, or /
}.s
- The string.IllegalArgumentException
- if the string is not valid as the name of a column.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.