org.apache.spark.sql.types
Class StringType

Object
  extended by org.apache.spark.sql.types.DataType
      extended by org.apache.spark.sql.types.StringType

public class StringType
extends DataType

:: DeveloperApi :: The data type representing String values. Please use the singleton DataTypes.StringType.


Method Summary
 scala.reflect.ClassTag<Object> classTag()
           
 int defaultSize()
          The default size of a value of the StringType is 4096 bytes.
 scala.math.Ordering<UTF8String> ordering()
           
 scala.reflect.api.TypeTags.TypeTag<UTF8String> tag()
           
 
Methods inherited from class org.apache.spark.sql.types.DataType
fromCaseClassString, fromJson, json, prettyJson, simpleString, typeName
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tag

public scala.reflect.api.TypeTags.TypeTag<UTF8String> tag()

ordering

public scala.math.Ordering<UTF8String> ordering()

defaultSize

public int defaultSize()
The default size of a value of the StringType is 4096 bytes.

Specified by:
defaultSize in class DataType
Returns:
(undocumented)

classTag

public scala.reflect.ClassTag<Object> classTag()