mje113 / couchbase-jruby-client Goto Github PK
View Code? Open in Web Editor NEWCouchbase JRuby Client mirrors the original Ruby Client API
License: Apache License 2.0
Couchbase JRuby Client mirrors the original Ruby Client API
License: Apache License 2.0
When trying to use couchbase-jruby-client on a strom cluster - deployed with redstorm - I get
org.jruby.exceptions.RaiseException: (ArgumentError) unable to create proxy class for class net.spy.memcached.transcoders.SerializingTranscoder
Running it locally works without a problem, though. I even tried making the dependency explicit by adding it to the ivy config file, but that didn't have any effect - and the jar file from the lib directory was already present on the server anyway.
Any ideas/pointers?
NameError (no method 'setKey' for arguments (org.jruby.RubyArray) on Java::ComCouchbaseClientProtocolViews::Query
available overloads:
(java.lang.String)
(com.couchbase.client.protocol.views.ComplexKey)):
couchbase-jruby-client-0.2.1 (java) lib/couchbase/query.rb:65:in `generate'
org/jruby/RubyHash.java:1364:in `each_pair'
couchbase-jruby-client-0.2.1 (java) lib/couchbase/query.rb:62:in `generate'
couchbase-jruby-client-0.2.1 (java) lib/couchbase/view.rb:294:in `fetch'
couchbase-jruby-client-0.2.1 (java) lib/couchbase/view.rb:126:in `each'
org/jruby/RubyEnumerable.java:423:in `to_a'
Had a bit of a dig around however couldn't find anything obvious
For my use case I need to retrieve the "key" attribute from reduced views. Currently only "value" is returned.
See:
Hi,
The connect class method seems to be missing in verson 1.0.4 (current release) of the gem. It's still listed as the right way for to make connections in the README.md.
If this is now deprecated could you suggest an alternative?
Many thanks for you hard work,
Sean.
Duck-typed objects could cause:
JrJackson::ParseError: Failed to load class 'org.jruby.RubyBasicObject$Access4JacksonSerializer': com/fasterxml/jackson/module/afterburner/ser/BeanPropertyAccessor
when saving.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.