[
https://issues.apache.org/jira/browse/CASSANDRA-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933931#comment-13933931
]
Edward Capriolo commented on CASSANDRA-6846:
--------------------------------------------
{quote}
So let's continue to use this ticket to explore what the gap is between what I
proposed, and what you see as a minimally viable versions of the need expressed
by #2 and #3.
{quote}
Most of what I want from Cassandra can be achieved by implementing
IDiskAtomFilter instances directly.
Imagine I want all columns that that have a value that matches a regex. In CQL
it would be something like this:
{code}
SELECT * FROM TABLE WHERE regex_like(COLUMN_VALUE,'?whateverrevex')==true
{code}
A valid point that this "can" be done with CQL. I agree, IF I knew how to write
a query parser, and a planner, antlr and yada yada. I agree it can be done. But
I do not know that stuff, and what I am talking about is a trivial task when
your on the server side.
Maybe I want to express this something like this:
{code}
columnFamily.stream( {rowkey: 1}).filter (
Pattern("whatever").matches(column.value) );
{code}
That would be a "deep integration" to me. Living below CQL, give me access to
the ColumnFamily and get out of my way!
> Provide standard interface for deep application server integration
> ------------------------------------------------------------------
>
> Key: CASSANDRA-6846
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6846
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Tupshin Harper
> Assignee: Tupshin Harper
> Priority: Minor
> Labels: ponies
>
> Instead of creating a pluggable interface for Thrift, I'd like to create a
> pluggable interface for arbitrary app-server deep integration.
> Inspired by both the existence of intravert-ug, as well as there being a long
> history of various parties embedding tomcat or jetty servlet engines inside
> Cassandra, I'd like to propose the creation an internal somewhat stable
> (versioned?) interface that could allow any app server to achieve deep
> integration with Cassandra, and as a result, these servers could
> 1) host their own apis (REST, for example
> 2) extend core functionality by having limited (see triggers and wide row
> scanners) access to the internals of cassandra
> The hand wavey part comes because while I have been mulling this about for a
> while, I have not spent any significant time into looking at the actual
> surface area of intravert-ug's integration. But, using it as a model, and
> also keeping in minds the general needs of your more traditional servlet/j2ee
> containers, I believe we could come up with a reasonable interface to allow
> any jvm app server to be integrated and maintained in or out of the Cassandra
> tree.
> This would satisfy the needs that many of us (Both Ed and I, for example) to
> have a much greater degree of control over server side execution, and to be
> able to start building much more interestingly (and simply) tiered
> applications.
--
This message was sent by Atlassian JIRA
(v6.2#6252)