MCPcopy Create free account
hub / github.com/apache/impala / Int

Class Int

tests/comparison/db_types.py:116–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116class Int(Number):
117
118 @classmethod
119 def get_generic_type(cls):
120 return Int
121
122 # Used to compare with other numbers for determining upcasting
123 CMP_VALUE = 2
124
125 # Used during data generation to keep vals in range
126 MIN = -2 ** 31
127 MAX = -MIN - 1
128
129
130class TinyInt(Int):

Callers 6

ValueMethod · 0.85
ProtobufFieldMethod · 0.85
ProtobufRepeatedFieldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected