Class BQ_Util
java.lang.Object
com.maplander.backend.utils.bq.BQ_Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringArrayStringsToString(List<String> strings) static StringdatesToString(List<String> strings) static LongexecuteDeleteQuery(String query) static LongexecuteInsertQuery(String query) static com.google.cloud.bigquery.JobexecuteQuery(String query) static com.google.cloud.bigquery.TableResultexecuteResultQuery(String queryStr) static LongexecuteUpdateQuery(String query) static StringfileCStoString(FileCS fileCS) static StringformatStringQuery(String value) static StringgetRepeatedIntValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) getRepeatedStringValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) static doublegetSafeDoubleValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) static intgetSafeIntegerValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) static LonggetSafeLongValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) static StringgetSafeStringValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) static StringgetSafeStringValue(com.google.cloud.bigquery.FieldValueList row, String fieldName, String subFieldName) static StringinsertQuotationsMarks(String value) static StringlistIntToString(List<Integer> objects) static String
-
Constructor Details
-
BQ_Util
public BQ_Util()
-
-
Method Details
-
fileCStoString
-
listIntToString
-
listIntToString
-
datesToString
-
ArrayStringsToString
-
executeResultQuery
-
executeQuery
-
executeInsertQuery
-
executeUpdateQuery
-
executeDeleteQuery
-
getSafeLongValue
-
getSafeIntegerValue
public static int getSafeIntegerValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) -
getSafeDoubleValue
public static double getSafeDoubleValue(com.google.cloud.bigquery.FieldValueList row, String fieldName) -
getSafeStringValue
-
getSafeStringValue
-
getRepeatedIntValue
-
getRepeatedStringValue
-
formatStringQuery
-
formatStringQueryDescription
-
insertQuotationsMarks
-