Module: Pacer::Filter::SqlFilter

Defined in:
lib/pacer-orient/sql_filter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#limit(n = nil) ⇒ Object



16
17
18
19
20
21
22
23
# File 'lib/pacer-orient/sql_filter.rb', line 16

def limit(n = nil)
  if n
    @limit = n
    self
  else
    @limit
  end
end

#offset(n = nil) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/pacer-orient/sql_filter.rb', line 7

def offset(n = nil)
  if n
    @offset = n
    self
  else
    @offset
  end
end

#order_byObject

Returns the value of attribute order_by.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def order_by
  @order_by
end

#orient_typeObject

Returns the value of attribute orient_type.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def orient_type
  @orient_type
end

#parallelObject

Returns the value of attribute parallel.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def parallel
  @parallel
end

#query_argsObject

Returns the value of attribute query_args.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def query_args
  @query_args
end

#selectObject

Returns the value of attribute select.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def select
  @select
end

#sqlObject

Returns the value of attribute sql.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def sql
  @sql
end

#timeoutObject

Returns the value of attribute timeout.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def timeout
  @timeout
end

#whereObject

Returns the value of attribute where.



4
5
6
# File 'lib/pacer-orient/sql_filter.rb', line 4

def where
  @where
end