cql3: Add restriction::to_string()

This commit is contained in:
Tomasz Grabiec
2015-03-04 21:15:17 +01:00
parent bbe32bf26b
commit a80a9a7253
2 changed files with 6 additions and 5 deletions

View File

@@ -105,6 +105,8 @@ public:
QueryOptions options)
throws InvalidRequestException;
#endif
virtual sstring to_string() = 0;
};
}

View File

@@ -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