Class: Mongoid::Shell::Commands::Mongoexport

Inherits:
Base
  • Object
show all
Includes:
Properties::Database, Properties::Host, Properties::Password, Properties::Username
Defined in:
lib/mongoid/shell/commands/mongoexport.rb

Instance Attribute Summary collapse

Attributes included from Properties::Password

#password

Attributes included from Properties::Username

#username

Attributes included from Properties::Database

#db

Attributes included from Properties::Host

#host

Attributes inherited from Base

#session

Instance Method Summary collapse

Methods inherited from Base

#cmd, command_for, #to_s

Constructor Details

#initialize(attrs = {}) ⇒ Mongoexport

Returns a new instance of Mongoexport.



18
19
20
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 18

def initialize(attrs = {})
  super
end

Instance Attribute Details

#authenticationDatabaseObject

Returns the value of attribute authenticationDatabase.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def authenticationDatabase
  @authenticationDatabase
end

#authenticationMechanismObject

Returns the value of attribute authenticationMechanism.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def authenticationMechanism
  @authenticationMechanism
end

#collectionObject

Returns the value of attribute collection.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def collection
  @collection
end

#csvObject

Returns the value of attribute csv.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def csv
  @csv
end

#dbpathObject

Returns the value of attribute dbpath.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def dbpath
  @dbpath
end

#directoryperdbObject

Returns the value of attribute directoryperdb.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def directoryperdb
  @directoryperdb
end

#fieldFileObject

Returns the value of attribute fieldFile.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def fieldFile
  @fieldFile
end

#fieldsObject

Returns the value of attribute fields.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def fields
  @fields
end

#forceTableScanObject

Returns the value of attribute forceTableScan.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def forceTableScan
  @forceTableScan
end

#gssapiHostNameObject

Returns the value of attribute gssapiHostName.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def gssapiHostName
  @gssapiHostName
end

#gssapiServiceNameObject

Returns the value of attribute gssapiServiceName.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def gssapiServiceName
  @gssapiServiceName
end

#ipv6Object

Returns the value of attribute ipv6.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def ipv6
  @ipv6
end

#journalObject

Returns the value of attribute journal.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def journal
  @journal
end

#jsonArrayObject

Returns the value of attribute jsonArray.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def jsonArray
  @jsonArray
end

#limitObject

Returns the value of attribute limit.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def limit
  @limit
end

#outObject

Returns the value of attribute out.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def out
  @out
end

#portObject

Returns the value of attribute port.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def port
  @port
end

#prettyObject

Returns the value of attribute pretty.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def pretty
  @pretty
end

#queryObject

Returns the value of attribute query.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def query
  @query
end

#quietObject

Returns the value of attribute quiet.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def quiet
  @quiet
end

#skipObject

Returns the value of attribute skip.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def skip
  @skip
end

#slaveOkObject

Returns the value of attribute slaveOk.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def slaveOk
  @slaveOk
end

#sortObject

Returns the value of attribute sort.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sort
  @sort
end

#sslObject

Returns the value of attribute ssl.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def ssl
  @ssl
end

#sslAllowInvalidCertificatesObject

Returns the value of attribute sslAllowInvalidCertificates.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslAllowInvalidCertificates
  @sslAllowInvalidCertificates
end

#sslAllowInvalidHostnamesObject

Returns the value of attribute sslAllowInvalidHostnames.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslAllowInvalidHostnames
  @sslAllowInvalidHostnames
end

#sslCAFileObject

Returns the value of attribute sslCAFile.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslCAFile
  @sslCAFile
end

#sslCRLFileObject

Returns the value of attribute sslCRLFile.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslCRLFile
  @sslCRLFile
end

#sslFIPSModeObject

Returns the value of attribute sslFIPSMode.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslFIPSMode
  @sslFIPSMode
end

#sslPEMKeyFileObject

Returns the value of attribute sslPEMKeyFile.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslPEMKeyFile
  @sslPEMKeyFile
end

#sslPEMKeyPasswordObject

Returns the value of attribute sslPEMKeyPassword.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def sslPEMKeyPassword
  @sslPEMKeyPassword
end

#typeObject

Returns the value of attribute type.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def type
  @type
end

#verboseObject

Returns the value of attribute verbose.



10
11
12
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 10

def verbose
  @verbose
end

Instance Method Details

#vargsObject



22
23
24
# File 'lib/mongoid/shell/commands/mongoexport.rb', line 22

def vargs
  super var_options.merge(boolean_options)
end