• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

georgia-tech-db / eva / #852

16 Nov 2023 08:34AM UTC coverage: 0.0%. Remained the same
#852

push

circleci

Andy Xu
Skip neuralforecast testcases

0 of 12596 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/evadb/parser/types.py
1
# coding=utf-8
2
# Copyright 2018-2023 EvaDB
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
#     http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15

16
from evadb.utils.generic_utils import EvaDBEnum
×
17

18

19
class ColumnConstraintEnum(EvaDBEnum):
×
20
    NOTNULL  # noqa: F821
×
21
    DEFAULT  # noqa: F821
×
22
    PRIMARY  # noqa: F821
×
23
    UNIQUE  # noqa: F821
×
24

25

26
class StatementType(EvaDBEnum):
×
27
    """
28
    Manages EvaDBEnums for all the sql-like statements supported
29
    """
30

31
    SELECT  # noqa: F821
×
32
    CREATE  # noqa: F821
×
33
    RENAME  # noqa: F821
×
34
    DROP_OBJECT  # noqa: F821
×
35
    INSERT  # noqa: F821
×
36
    DELETE  # noqa: F821
×
37
    CREATE_FUNCTION  # noqa: F821
×
38
    LOAD_DATA  # noqa: F821
×
39
    SHOW  # noqa: F821
×
40
    EXPLAIN  # noqa: F821
×
41
    CREATE_INDEX  # noqa: F821
×
42
    CREATE_DATABASE  # noqa: F821
×
43
    USE  # noqa: F821
×
44
    SET  # noqa: F821
×
45
    CREATE_JOB  # noqa: F821
×
46
    # add other types
47

48

49
class ParserOrderBySortType(EvaDBEnum):
×
50
    """
51
    Manages EvaDBEnums for all order by sort types
52
    """
53

54
    ASC  # noqa: F821
×
55
    DESC  # noqa: F821
×
56

57

58
class JoinType(EvaDBEnum):
×
59
    LATERAL_JOIN  # noqa: F821
×
60
    INNER_JOIN  # noqa: F821
×
61

62

63
class FileFormatType(EvaDBEnum):
×
64
    VIDEO  # noqa: F821
×
65
    CSV  # noqa: F821
×
66
    IMAGE  # noqa: F821
×
67
    DOCUMENT  # noqa: F821
×
68
    PDF  # noqa: F821
×
69

70

71
class ShowType(EvaDBEnum):
×
72
    FUNCTIONS  # noqa: F821
×
73
    TABLES  # noqa: F821
×
74
    CONFIG  # noqa: F821
×
75
    DATABASES  # noqa: F821
×
76

77

78
class FunctionType(EvaDBEnum):
×
79
    EXTRACT_OBJECT  # noqa: F821
×
80

81

82
class ObjectType(EvaDBEnum):
×
83
    TABLE  # noqa: F821
×
84
    FUNCTION  # noqa: F821
×
85
    INDEX  # noqa: F821
×
86
    DATABASE  # noqa: F821
×
87
    JOB  # noqa: F821
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc