Class: SparkConnect::Types::StringType
- Defined in:
- lib/spark_connect/types.rb
Instance Attribute Summary collapse
-
#collation ⇒ String
readonly
The collation name (default
"UTF8_BINARY").
Instance Method Summary collapse
-
#initialize(collation = "UTF8_BINARY") ⇒ StringType
constructor
A new instance of StringType.
- #to_proto ⇒ Object
- #type_name ⇒ Object
Methods inherited from DataType
#==, #hash, #inspect, #json, #json_value, #simple_string, #to_s
Constructor Details
#initialize(collation = "UTF8_BINARY") ⇒ StringType
Returns a new instance of StringType.
122 123 124 125 |
# File 'lib/spark_connect/types.rb', line 122 def initialize(collation = "UTF8_BINARY") super() @collation = collation end |
Instance Attribute Details
#collation ⇒ String (readonly)
Returns the collation name (default "UTF8_BINARY").
120 121 122 |
# File 'lib/spark_connect/types.rb', line 120 def collation @collation end |