Package net.atthegate.server.service
Class BigQueryService
java.lang.Object
net.atthegate.server.service.BigQueryService
Created by user on 03.12.2016.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addEntryToBigQuery
(String datasetName, AtgEntry entry, AtTheGateAppUser user) static void
addEntryToBigQueryQueue
(String userKey, String entryKey) static void
addIncidentToBigQuery
(String datasetName, BQIncidentModel incident, AtTheGateAppUser user) static void
addIncidentToBigQueryQueue
(Incident incident, String profileName, String deviceName, String entryKey) static void
sendAllUserEntries
(AtTheGateAppUser user, String fromDate)
-
Field Details
-
DATASET_ENTRIES_PREFIX
-
DATASET_INCIDENTS_PREFIX
-
-
Constructor Details
-
BigQueryService
public BigQueryService()
-
-
Method Details
-
sendAllUserEntries
- Throws:
IOException
-
addEntryToBigQueryQueue
-
addIncidentToBigQueryQueue
-
addEntryToBigQuery
public static void addEntryToBigQuery(String datasetName, AtgEntry entry, AtTheGateAppUser user) throws IOException - Throws:
IOException
-
addIncidentToBigQuery
public static void addIncidentToBigQuery(String datasetName, BQIncidentModel incident, AtTheGateAppUser user) throws IOException - Throws:
IOException
-