Remove bool from Constraint
This commit is contained in:
parent
acc15256ec
commit
95748a5192
|
@ -395,7 +395,6 @@ static int parquetFilter(
|
|||
}
|
||||
|
||||
ValueType type = Null;
|
||||
bool boolValue = false;
|
||||
int64_t intValue = 0;
|
||||
double doubleValue = 0;
|
||||
std::vector<unsigned char> blobValue;
|
||||
|
@ -429,7 +428,6 @@ static int parquetFilter(
|
|||
indexInfo->aConstraint[i].iColumn,
|
||||
constraintOperatorFromSqlite(indexInfo->aConstraint[i].op),
|
||||
type,
|
||||
boolValue,
|
||||
intValue,
|
||||
doubleValue,
|
||||
blobValue);
|
||||
|
|
|
@ -4,7 +4,6 @@ Constraint::Constraint(
|
|||
int column,
|
||||
ConstraintOperator op,
|
||||
ValueType type,
|
||||
bool boolValue,
|
||||
int64_t intValue,
|
||||
double doubleValue,
|
||||
std::vector<unsigned char> blobValue
|
||||
|
@ -12,7 +11,6 @@ Constraint::Constraint(
|
|||
this->column = column;
|
||||
this->op = op;
|
||||
this->type = type;
|
||||
this->boolValue = boolValue;
|
||||
this->intValue = intValue;
|
||||
this->doubleValue = doubleValue;
|
||||
this->blobValue = blobValue;
|
||||
|
@ -30,10 +28,6 @@ ValueType Constraint::getType() {
|
|||
return type;
|
||||
}
|
||||
|
||||
bool Constraint::getBool() {
|
||||
return boolValue;
|
||||
}
|
||||
|
||||
int64_t Constraint::getInt() {
|
||||
return intValue;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ class Constraint {
|
|||
ConstraintOperator op;
|
||||
ValueType type;
|
||||
|
||||
bool boolValue;
|
||||
int64_t intValue;
|
||||
double doubleValue;
|
||||
// Doubles as string value
|
||||
|
@ -47,7 +46,6 @@ public:
|
|||
int column,
|
||||
ConstraintOperator op,
|
||||
ValueType type,
|
||||
bool boolValue,
|
||||
int64_t intValue,
|
||||
double doubleValue,
|
||||
std::vector<unsigned char> blobValue
|
||||
|
@ -56,7 +54,6 @@ public:
|
|||
int getColumn();
|
||||
ConstraintOperator getOperator();
|
||||
ValueType getType();
|
||||
bool getBool();
|
||||
int64_t getInt();
|
||||
double getDouble();
|
||||
std::vector<unsigned char> getBytes();
|
||||
|
|
Loading…
Reference in New Issue