Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
384 lines (382 sloc) 14.2 KB
package core
// reservedWords is the list of reserved words in SensorBee.
// These terms cannot be used as names of various entities.
var reservedWords = map[string]struct{}{
"abort": struct{}{},
"absolute": struct{}{},
"accelerated": struct{}{},
"action": struct{}{},
"add": struct{}{},
"after": struct{}{},
"all": struct{}{},
"allocate": struct{}{},
"alter": struct{}{},
"analyze": struct{}{},
"and": struct{}{},
"any": struct{}{},
"are": struct{}{},
"array": struct{}{},
"as": struct{}{},
"asc": struct{}{},
"assertion": struct{}{},
"at": struct{}{},
"atomic": struct{}{},
"authorization": struct{}{},
"avg": struct{}{},
"before": struct{}{},
"begin": struct{}{},
"between": struct{}{},
"binary": struct{}{},
"binarynull": struct{}{},
"bind": struct{}{},
"bit": struct{}{},
"blank": struct{}{},
"boolean": struct{}{},
"both": struct{}{},
"break": struct{}{},
"bucket": struct{}{},
"by": struct{}{},
"call": struct{}{},
"cascade": struct{}{},
"cascaded": struct{}{},
"case": struct{}{},
"cast": struct{}{},
"catalog": struct{}{},
"chain": struct{}{},
"char": struct{}{},
"character": struct{}{},
"check": struct{}{},
"close": struct{}{},
"cluster": struct{}{},
"coalesce": struct{}{},
"cobol": struct{}{},
"collate": struct{}{},
"collation": struct{}{},
"collection": struct{}{},
"column": struct{}{},
"commit": struct{}{},
"committed": struct{}{},
"condition": struct{}{},
"connect": struct{}{},
"connection": struct{}{},
"constraint": struct{}{},
"constraints": struct{}{},
"continue": struct{}{},
"convert": struct{}{},
"correlate": struct{}{},
"corresponding": struct{}{},
"count": struct{}{},
"create": struct{}{},
"createtab": struct{}{},
"cross": struct{}{},
"cs": struct{}{},
"curdate": struct{}{},
"current": struct{}{},
"cursor": struct{}{},
"curtime": struct{}{},
"database": struct{}{},
"dataset": struct{}{},
"datastore": struct{}{},
"date": struct{}{},
"day": struct{}{},
"dcompress": struct{}{},
"deallocate": struct{}{},
"dec": struct{}{},
"decimal": struct{}{},
"decimalseparatorcomma": struct{}{},
"declare": struct{}{},
"default": struct{}{},
"deferrable": struct{}{},
"deferred": struct{}{},
"delete": struct{}{},
"derived": struct{}{},
"desc": struct{}{},
"describe": struct{}{},
"descriptor": struct{}{},
"diagnostics": struct{}{},
"dictionary": struct{}{},
"disconnect": struct{}{},
"distinct": struct{}{},
"do": struct{}{},
"domain": struct{}{},
"double": struct{}{},
"drop": struct{}{},
"each": struct{}{},
"element": struct{}{},
"else": struct{}{},
"elseif": struct{}{},
"end": struct{}{},
"escape": struct{}{},
"every": struct{}{},
"ex": struct{}{},
"except": struct{}{},
"exception": struct{}{},
"exclude": struct{}{},
"exclusive": struct{}{},
"exec": struct{}{},
"execute": struct{}{},
"exists": struct{}{},
"explain": struct{}{},
"external": struct{}{},
"extract": struct{}{},
"false": struct{}{},
"fetch": struct{}{},
"first": struct{}{},
"flatten": struct{}{},
"float": struct{}{},
"fn": struct{}{},
"for": struct{}{},
"foreign": struct{}{},
"found": struct{}{},
"from": struct{}{},
"full": struct{}{},
"function": struct{}{},
"get": struct{}{},
"global": struct{}{},
"go": struct{}{},
"goto": struct{}{},
"grant": struct{}{},
"group": struct{}{},
"gsi": struct{}{},
"handler": struct{}{},
"having": struct{}{},
"hour": struct{}{},
"identity": struct{}{},
"if": struct{}{},
"immediate": struct{}{},
"in": struct{}{},
"include": struct{}{},
"index": struct{}{},
"indicator": struct{}{},
"initially": struct{}{},
"inline": struct{}{},
"inner": struct{}{},
"inout": struct{}{},
"input": struct{}{},
"insensitive": struct{}{},
"insert": struct{}{},
"int": struct{}{},
"integer": struct{}{},
"internal": struct{}{},
"intersect": struct{}{},
"interval": struct{}{},
"into": struct{}{},
"is": struct{}{},
"isolation": struct{}{},
"join": struct{}{},
"key": struct{}{},
"keys": struct{}{},
"keyspace": struct{}{},
"language": struct{}{},
"last": struct{}{},
"leading": struct{}{},
"leave": struct{}{},
"left": struct{}{},
"legacyownername": struct{}{},
"length": struct{}{},
"let": struct{}{},
"letting": struct{}{},
"level": struct{}{},
"like": struct{}{},
"limit": struct{}{},
"local": struct{}{},
"logical": struct{}{},
"login": struct{}{},
"loop": struct{}{},
"lower": struct{}{},
"lsm": struct{}{},
"map": struct{}{},
"mapping": struct{}{},
"mask": struct{}{},
"match": struct{}{},
"matched": struct{}{},
"materialized": struct{}{},
"max": struct{}{},
"merge": struct{}{},
"millisecond": struct{}{},
"min": struct{}{},
"minus": struct{}{},
"minute": struct{}{},
"missing": struct{}{},
"modifiable": struct{}{},
"modify": struct{}{},
"module": struct{}{},
"money": struct{}{},
"month": struct{}{},
"names": struct{}{},
"namespace": struct{}{},
"national": struct{}{},
"natural": struct{}{},
"nchar": struct{}{},
"nest": struct{}{},
"new": struct{}{},
"next": struct{}{},
"no": struct{}{},
"normal": struct{}{},
"not": struct{}{},
"notfound": struct{}{},
"now": struct{}{},
"null": struct{}{},
"nullif": struct{}{},
"number": struct{}{},
"numeric": struct{}{},
"octet_length": struct{}{},
"of": struct{}{},
"off": struct{}{},
"offset": struct{}{},
"old": struct{}{},
"on": struct{}{},
"only": struct{}{},
"open": struct{}{},
"openmode": struct{}{},
"option": struct{}{},
"or": struct{}{},
"order": struct{}{},
"out": struct{}{},
"outer": struct{}{},
"output": struct{}{},
"over": struct{}{},
"overlaps": struct{}{},
"owner": struct{}{},
"owneraccess": struct{}{},
"pad": struct{}{},
"pagesize": struct{}{},
"parse": struct{}{},
"partial": struct{}{},
"partition": struct{}{},
"password": struct{}{},
"path": struct{}{},
"pool": struct{}{},
"position": struct{}{},
"preallocate": struct{}{},
"precision": struct{}{},
"prepare": struct{}{},
"preserve": struct{}{},
"primary": struct{}{},
"print": struct{}{},
"prior": struct{}{},
"private": struct{}{},
"privilege": struct{}{},
"privileges": struct{}{},
"procedure": struct{}{},
"public": struct{}{},
"range": struct{}{},
"raw": struct{}{},
"read": struct{}{},
"readonly": struct{}{},
"real": struct{}{},
"realm": struct{}{},
"reduce": struct{}{},
"references": struct{}{},
"referencing": struct{}{},
"relative": struct{}{},
"release": struct{}{},
"rename": struct{}{},
"repeat": struct{}{},
"repeatable": struct{}{},
"replace": struct{}{},
"replication": struct{}{},
"resignal": struct{}{},
"restrict": struct{}{},
"return": struct{}{},
"returning": struct{}{},
"returns": struct{}{},
"revoke": struct{}{},
"right": struct{}{},
"role": struct{}{},
"rollback": struct{}{},
"row": struct{}{},
"rowcount": struct{}{},
"rows": struct{}{},
"satisfies": struct{}{},
"savepoint": struct{}{},
"schema": struct{}{},
"scroll": struct{}{},
"second": struct{}{},
"section": struct{}{},
"security": struct{}{},
"seg": struct{}{},
"select": struct{}{},
"self": struct{}{},
"serializable": struct{}{},
"session": struct{}{},
"set": struct{}{},
"show": struct{}{},
"signal": struct{}{},
"size": struct{}{},
"smallint": struct{}{},
"some": struct{}{},
"space": struct{}{},
"sql": struct{}{},
"sqlcode": struct{}{},
"sqlerror": struct{}{},
"sqlexceptions": struct{}{},
"sqlstate": struct{}{},
"sqlwarnings": struct{}{},
"start": struct{}{},
"statement": struct{}{},
"statistics": struct{}{},
"string": struct{}{},
"stringnull": struct{}{},
"substring": struct{}{},
"sum": struct{}{},
"svbegin": struct{}{},
"svend": struct{}{},
"system": struct{}{},
"table": struct{}{},
"temporary": struct{}{},
"then": struct{}{},
"threshold": struct{}{},
"time": struct{}{},
"timestamp": struct{}{},
"to": struct{}{},
"top": struct{}{},
"trailing": struct{}{},
"transaction": struct{}{},
"translate": struct{}{},
"translation": struct{}{},
"trigger": struct{}{},
"triggerstampmisc": struct{}{},
"trim": struct{}{},
"struct{}{}": struct{}{},
"struct{}{}nullcreate": struct{}{},
"truncate": struct{}{},
"ts": struct{}{},
"type": struct{}{},
"uncommitted": struct{}{},
"under": struct{}{},
"undo": struct{}{},
"union": struct{}{},
"unique": struct{}{},
"unknown": struct{}{},
"unnest": struct{}{},
"unset": struct{}{},
"until": struct{}{},
"updatable": struct{}{},
"update": struct{}{},
"upper": struct{}{},
"upsert": struct{}{},
"usage": struct{}{},
"use": struct{}{},
"user": struct{}{},
"using": struct{}{},
"validate": struct{}{},
"value": struct{}{},
"valued": struct{}{},
"values": struct{}{},
"varchar": struct{}{},
"varying": struct{}{},
"verify": struct{}{},
"view": struct{}{},
"when": struct{}{},
"whenever": struct{}{},
"where": struct{}{},
"while": struct{}{},
"with": struct{}{},
"within": struct{}{},
"work": struct{}{},
"write": struct{}{},
"xor": struct{}{},
"year": struct{}{},
"zone": struct{}{},
}