Sha256: b449b2868279fa50c03d0924055ab3a3005bf39b39f53e6b677906982ed5ea54
Contents?: true
Size: 746 Bytes
Versions: 6
Compression:
Stored size: 746 Bytes
Contents
module Sparkql::Token SPACE = /[\t ]+/ NEWLINE = /\r\n|\n\r|\r|\n/ LPAREN = /\(/ RPAREN = /\)/ KEYWORD = /[A-Za-z]+/ STANDARD_FIELD = /[A-Z]+[A-Za-z0-9]*/ CUSTOM_FIELD = /^(\"([^$."][^."]+)\".\"([^$."][^."]*)\")/ INTEGER = /^\-?[0-9]+/ DECIMAL = /^\-?[0-9]+\.[0-9]+/ CHARACTER = /^'([^'\\]*(\\.[^'\\]*)*)'/ DATE = /^[0-9]{4}\-[0-9]{2}\-[0-9]{2}/ DATETIME = /^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}\:[0-9]{2}(\:[0-9]{2})?(\.[0-9]{1,50})?(((\+|-)[0-9]{2}\:?[0-9]{2})|Z)?/ BOOLEAN = /^true|false/ NULL = /NULL|null|Null/ # Reserved words RANGE_OPERATOR = 'Bt' EQUALITY_OPERATORS = ['Eq','Ne'] OPERATORS = ['Gt','Ge','Lt','Le'] + EQUALITY_OPERATORS UNARY_CONJUNCTIONS = ['Not'] CONJUNCTIONS = ['And','Or'] end
Version data entries
6 entries across 6 versions & 1 rubygems