Package com.google.cloud.bigquery
Class Range
java.lang.Object
com.google.cloud.bigquery.Range
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnd()Returns the end value of the range.getStart()Returns the start value of the range.abstract FieldElementTypegetType()Returns the type of the range.Returns the start and end values of this range.static Range.BuilderCreates a range builder.static Rangestatic Rangeof(String value, FieldElementType type) Creates an instance ofRangefrom a string representation.abstract Range.Builder
-
Constructor Details
-
Range
public Range()
-
-
Method Details
-
getStart
Returns the start value of the range. A null value represents an unbounded start. -
getEnd
Returns the end value of the range. A null value represents an unbounded end. -
getValues
Returns the start and end values of this range. -
getType
Returns the type of the range. -
toBuilder
-
newBuilder
Creates a range builder. Supported StandardSQLTypeName are [DATE, DATETIME, TIMESTAMP] -
of
- Throws:
IllegalArgumentException
-
of
Creates an instance ofRangefrom a string representation.The expected string format is: "[start, end)", where start and end are string format of [DATE, TIME, TIMESTAMP].
- Throws:
IllegalArgumentException
-