public class Utilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COL_NULL_ERROR |
static SchemaPath |
STAR_COLUMN |
| Constructor and Description |
|---|
Utilities() |
| Modifier and Type | Method and Description |
|---|---|
static BitControl.QueryContextInformation |
createQueryContextInfo(String defaultSchemaName,
String sessionId)
Create QueryContextInformation with given defaultSchemaName.
|
static String |
getDrillVersion()
Read the manifest file and get the Drill version number
|
static String |
getFileNameForQueryFragment(FragmentContext context,
String location,
String tag) |
static boolean |
isStarQuery(Collection<SchemaPath> projected)
Return true if list of schema path has star column.
|
public static final SchemaPath STAR_COLUMN
public static final String COL_NULL_ERROR
public static String getFileNameForQueryFragment(FragmentContext context, String location, String tag)
public static BitControl.QueryContextInformation createQueryContextInfo(String defaultSchemaName, String sessionId)
defaultSchemaName - public static String getDrillVersion()
public static boolean isStarQuery(Collection<SchemaPath> projected)
projected - Copyright © 2017 The Apache Software Foundation. All rights reserved.