lib/couchbase/query.rb in couchbase-jruby-client-0.1.1 vs lib/couchbase/query.rb in couchbase-jruby-client-0.1.2

- old
+ new

@@ -1,5 +1,23 @@ +# Author:: Mike Evans <mike@urlgonomics.com> +# Copyright:: 2013 Urlgonomics LLC. +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + + module Couchbase class Query java_import com.couchbase.client.protocol.views.Stale @@ -48,11 +66,11 @@ else fail ArgumentError, "Query does not support #{meth}" end end - + # @option params [true, false] :quiet (true) Do not raise error if # associated document not found in the memory. If the parameter +true+ # will use +nil+ value instead. # @option params [String, Symbol] :on_error (:continue) Sets the # response in the event of an error. Supported values: @@ -63,10 +81,10 @@ # further view information will be returned. # @option params [Fixnum] :connection_timeout (75000) Timeout before the # view request is dropped (milliseconds) - # @option params [Hash] :body + # @option params [Hash] :body query end end end