Package org.apache.druid.data.input
Class StringTuple
java.lang.Object
org.apache.druid.data.input.StringTuple
- All Implemented Interfaces:
Comparable<StringTuple>
Represents a tuple of String values, typically used to represent
(single-valued) dimension values for an InputRow.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(StringTuple that) static StringTuplebooleanstatic StringfirstOrNull(StringTuple tuple) Gets the first String from the given StringTuple if the tuple is non-null and non-empty, null otherwise.get(int index) inthashCode()intsize()String[]toArray()toString()
-
Constructor Details
-
StringTuple
-
-
Method Details
-
create
-
firstOrNull
Gets the first String from the given StringTuple if the tuple is non-null and non-empty, null otherwise. -
get
-
size
public int size() -
toArray
-
compareTo
- Specified by:
compareToin interfaceComparable<StringTuple>
-
equals
-
hashCode
public int hashCode() -
toString
-