Java Code Examples for org.apache.phoenix.util.SchemaUtil#isCaseSensitive()

The following examples show how to use org.apache.phoenix.util.SchemaUtil#isCaseSensitive() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AliasedNode.java    From phoenix with Apache License 2.0 4 votes vote down vote up
public AliasedNode(String alias, ParseNode node) {
    this.isCaseSensitve = alias != null && SchemaUtil.isCaseSensitive(alias);
    this.alias = alias == null ? null : SchemaUtil.normalizeIdentifier(alias);
    this.node = node;
}
 
Example 2
Source File: TableName.java    From phoenix with Apache License 2.0 4 votes vote down vote up
private TableName(String schemaName, String tableName, boolean normalize) {
    this.schemaName = normalize ? SchemaUtil.normalizeIdentifier(schemaName) : schemaName;
    this.isSchemaNameCaseSensitive = normalize ? SchemaUtil.isCaseSensitive(schemaName) : false;
    this.tableName = normalize ? SchemaUtil.normalizeIdentifier(tableName) : tableName;
    this.isTableNameCaseSensitive = normalize ? SchemaUtil.isCaseSensitive(tableName) : false;
}
 
Example 3
Source File: NamedNode.java    From phoenix with Apache License 2.0 4 votes vote down vote up
NamedNode(String name) {
    this.name = SchemaUtil.normalizeIdentifier(name);
    this.isCaseSensitive = name == null ? false : SchemaUtil.isCaseSensitive(name);
}
 
Example 4
Source File: AliasedNode.java    From phoenix with Apache License 2.0 4 votes vote down vote up
public AliasedNode(String alias, ParseNode node) {
    this.isCaseSensitve = alias != null && SchemaUtil.isCaseSensitive(alias);
    this.alias = alias == null ? null : SchemaUtil.normalizeIdentifier(alias);
    this.node = node;
}
 
Example 5
Source File: CursorName.java    From phoenix with Apache License 2.0 4 votes vote down vote up
public CursorName(String name){
    this.name = name;
    this.isCaseSensitive = name == null ? false: SchemaUtil.isCaseSensitive(name);
}
 
Example 6
Source File: TableName.java    From phoenix with Apache License 2.0 4 votes vote down vote up
private TableName(String schemaName, String tableName, boolean normalize) {
    this.schemaName = normalize ? SchemaUtil.normalizeIdentifier(schemaName) : schemaName;
    this.isSchemaNameCaseSensitive = normalize ? SchemaUtil.isCaseSensitive(schemaName) : false;
    this.tableName = normalize ? SchemaUtil.normalizeIdentifier(tableName) : tableName;
    this.isTableNameCaseSensitive = normalize ? SchemaUtil.isCaseSensitive(tableName) : false;
}
 
Example 7
Source File: NamedNode.java    From phoenix with Apache License 2.0 4 votes vote down vote up
NamedNode(String name) {
    this.name = SchemaUtil.normalizeIdentifier(name);
    this.isCaseSensitive = name == null ? false : SchemaUtil.isCaseSensitive(name);
}