What I'm noticing with these projects is that they don't handle CQL files
properly. e.g., cassandra-unit dies when you have a string that contains ;
inside of it. The parsing logic they use is very primitive in the sense
they simple look for ; to denote the end of a statement.

Is there any class in Cassandra I could use that given a *.cql file, it'll
return a list of statements inside of it?

Looking at CQLParser, it's only good for parsing a single statement vs. a
file that contains multiple statements.


On Mon, Jan 11, 2016 at 3:06 PM, DuyHai Doan <doanduy...@gmail.com> wrote:

> Achilles 4.x does offer an embedded Cassandra server support with some
> utility classes like ScriptExecutor. It supports C* 2.2 currently :
>
> https://github.com/doanduyhai/Achilles/wiki/CQL-embedded-cassandra-server
> Le 11 janv. 2016 20:47, "Richard L. Burton III" <mrbur...@gmail.com> a
> écrit :
>
>> I'm looking to see what's recommended for an embedded version of
>> Cassandra, just for unit testing.
>>
>> I'm looking at https://github.com/jsevellec/cassandra-unit/wiki but I
>> wanted to see if there's was a better recommendation?
>>
>> --
>> -Richard L. Burton III
>> @rburton
>>
>


-- 
-Richard L. Burton III
@rburton

Reply via email to