Class com::omnisci::jdbc::OmniSciEscapeParser

class OmniSciEscapeParser

Public Static Functions

static String com.omnisci.jdbc.OmniSciEscapeParser.parse(String sql)

Private Static Functions

static String com.omnisci.jdbc.OmniSciEscapeParser.process_sql(String sql, Pair index)
static Parser_return com.omnisci.jdbc.OmniSciEscapeParser.parse(String sql, int bracket_cnt)

Private Static Attributes

final char [] com.omnisci.jdbc.OmniSciEscapeParser.QUOTE_OR_ALPHABETIC_MARKER = {'"', '0'}
final char [] com.omnisci.jdbc.OmniSciEscapeParser.SINGLE_QUOTE = {'''}
enum EscapeFunctions

Public Functions

com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.EscapeFunctions(String escapePattern, String argPattern, String replacementKeyword)

Public Members

com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.ESC_FUNCTION =("\s*fn\s+([^ ]*?)\s*\(", "\(\s*(.*)\s*\)", null)
com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.ESC_DATE =("\s*(d)\s+", "('.*?')", "DATE ")
com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.ESC_TIME =("\s*(t)\s+", "('.*?')", "TIME ")
com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.ESC_TIMESTAMP =("\s*(ts)\s+", "('.*?')", "TIMESTAMP ")

Public Static Functions

static String com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.simple(String arg)
static String com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.function(String arg)

Private Functions

String com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.call_escape_fn(String all_arguments, Method method)
String com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.makeMatch(String sql)

Private Members

final Pattern com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.escapePattern
final Pattern com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.argPattern
final String com.omnisci.jdbc.OmniSciEscapeParser.EscapeFunctions.replacementKeyword
class Pair

Public Functions

com.omnisci.jdbc.OmniSciEscapeParser.Pair.Pair(int s)

Public Members

int com.omnisci.jdbc.OmniSciEscapeParser.Pair.start
int com.omnisci.jdbc.OmniSciEscapeParser.Pair.end