Skip to content

Commit f2ea3e2

Browse files
committed
---
yaml --- r: 6445 b: refs/heads/tswast-patch-1 c: 1674c9c h: refs/heads/master i: 6443: 951a890
1 parent afd2790 commit f2ea3e2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

  • branches/tswast-patch-1/gcloud-java-bigquery/src/main/java/com/google/gcloud/bigquery

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 27f4d0d41e32a2bfab313e4cea969ff820c5fc6a
60+
refs/heads/tswast-patch-1: 1674c9c8a7a6ac69019a686244d76980cf2dc887
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/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)