Class: OdpsDatahub::OdpsConfig
- Inherits:
-
Object
- Object
- OdpsDatahub::OdpsConfig
- Defined in:
- lib/fluent/plugin/conf/config.rb
Instance Attribute Summary collapse
-
#accessId ⇒ Object
Returns the value of attribute accessId.
-
#accessKey ⇒ Object
Returns the value of attribute accessKey.
-
#datahubEndpoint ⇒ Object
Returns the value of attribute datahubEndpoint.
-
#defaultProjectName ⇒ Object
Returns the value of attribute defaultProjectName.
-
#odpsEndpoint ⇒ Object
Returns the value of attribute odpsEndpoint.
-
#userAgent ⇒ Object
Returns the value of attribute userAgent.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") ⇒ OdpsConfig
constructor
A new instance of OdpsConfig.
Constructor Details
#initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") ⇒ OdpsConfig
Returns a new instance of OdpsConfig.
24 25 26 27 28 29 30 31 |
# File 'lib/fluent/plugin/conf/config.rb', line 24 def initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") @accessId = accessId @accessKey = accessKey @odpsEndpoint = odpsEndpoint @datahubEndpoint = datahubEndpoint @defaultProject = defaultProjectName @userAgent = "" end |
Instance Attribute Details
#accessId ⇒ Object
Returns the value of attribute accessId.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def accessId @accessId end |
#accessKey ⇒ Object
Returns the value of attribute accessKey.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def accessKey @accessKey end |
#datahubEndpoint ⇒ Object
Returns the value of attribute datahubEndpoint.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def datahubEndpoint @datahubEndpoint end |
#defaultProjectName ⇒ Object
Returns the value of attribute defaultProjectName.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def defaultProjectName @defaultProjectName end |
#odpsEndpoint ⇒ Object
Returns the value of attribute odpsEndpoint.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def odpsEndpoint @odpsEndpoint end |
#userAgent ⇒ Object
Returns the value of attribute userAgent.
22 23 24 |
# File 'lib/fluent/plugin/conf/config.rb', line 22 def userAgent @userAgent end |
Class Method Details
.setFastCrc(value) ⇒ Object
33 34 35 |
# File 'lib/fluent/plugin/conf/config.rb', line 33 def self.setFastCrc(value) $USE_FAST_CRC = value end |