mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
cql3: Add restriction::to_string()
This commit is contained in:
@@ -105,6 +105,8 @@ public:
|
||||
QueryOptions options)
|
||||
throws InvalidRequestException;
|
||||
#endif
|
||||
|
||||
virtual sstring to_string() = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -485,12 +485,11 @@ public:
|
||||
return v;
|
||||
}
|
||||
|
||||
virtual sstring to_string() override {
|
||||
return sprint("EQ(%s)", _value->to_string());
|
||||
}
|
||||
|
||||
#if 0
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return String.format("EQ(%s)", value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Restriction mergeWith(Restriction otherRestriction) throws InvalidRequestException
|
||||
|
||||
Reference in New Issue
Block a user