Skip to content

Commit 02ea8a0

Browse files
committed
---
yaml --- r: 1867 b: refs/heads/pubsub-alpha c: 1674c9c h: refs/heads/master i: 1865: deb1a06 1863: 0d4870b
1 parent ebd8546 commit 02ea8a0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ refs/heads/master: 689bbb466df4b2d5d2483d6edb8ac5c7c7f7c6fa
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: 4e0561bb4504bf647db669a14417b2b2c87ba45d
55
refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3
6-
refs/heads/pubsub-alpha: 27f4d0d41e32a2bfab313e4cea969ff820c5fc6a
6+
refs/heads/pubsub-alpha: 1674c9c8a7a6ac69019a686244d76980cf2dc887
77
refs/heads/resource-manager: ebf4adc5ee835cd2086c4ac5b4e78d01a5a005a7
88
refs/heads/update-datastore: 482954f2c5055231e5b3122ea91d2ba00ce8187c
99
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

branches/pubsub-alpha/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery/FieldValue.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public String stringValue() {
106106
* Returns this field's value as a {@link Long}. This method should only be used if the
107107
* corresponding field has {@link Field.Type#integer()} type.
108108
*
109+
* @throws ClassCastException if the field has not primitive type
109110
* @throws NumberFormatException if the field's value could not be converted to {@link Integer}
110111
*/
111112
@SuppressWarnings("unchecked")
@@ -117,6 +118,7 @@ public long longValue() {
117118
* Returns this field's value as a {@link Double}. This method should only be used if the
118119
* corresponding field has {@link Field.Type#floatingPoint()} type.
119120
*
121+
* @throws ClassCastException if the field has not primitive type
120122
* @throws NumberFormatException if the field's value could not be converted to {@link Double}
121123
*/
122124
@SuppressWarnings("unchecked")
@@ -128,6 +130,7 @@ public double doubleValue() {
128130
* Returns this field's value as a {@link Boolean}. This method should only be used if the
129131
* corresponding field has {@link Field.Type#bool()} type.
130132
*
133+
* @throws ClassCastException if the field has not primitive type
131134
* @throws IllegalStateException if the field's value could not be converted to {@link Boolean}
132135
*/
133136
@SuppressWarnings("unchecked")
@@ -142,6 +145,7 @@ public boolean booleanValue() {
142145
* Returns this field's value as a {@link Long}, representing a timestamp in microseconds. This
143146
* method should only be used if the corresponding field has {@link Field.Type#timestamp()} type.
144147
*
148+
* @throws ClassCastException if the field has not primitive type
145149
* @throws NumberFormatException if the field's value could not be converted to {@link Long}
146150
*/
147151
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)