public class AnalyticsEventTableUtils extends Object
| Constructor and Description |
|---|
AnalyticsEventTableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteRecords(int tenantId,
String tableName,
List<org.wso2.carbon.analytics.datasource.commons.Record> records) |
static List<org.wso2.carbon.analytics.datasource.commons.Record> |
getAllRecords(int tenantId,
String tableName) |
static int |
putEvents(int tenantId,
String tableName,
List<org.wso2.siddhi.query.api.definition.Attribute> attrs,
org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.ComplexEvent> addingEventChunk) |
static org.wso2.siddhi.core.event.stream.StreamEvent |
recordsToStreamEvent(List<org.wso2.siddhi.query.api.definition.Attribute> attrs,
List<org.wso2.carbon.analytics.datasource.commons.Record> records) |
static org.wso2.siddhi.core.event.stream.StreamEvent |
recordToStreamEvent(List<org.wso2.siddhi.query.api.definition.Attribute> attrs,
org.wso2.carbon.analytics.datasource.commons.Record record) |
static Map<String,Object> |
streamEventToRecordValues(List<org.wso2.siddhi.query.api.definition.Attribute> attrs,
org.wso2.siddhi.core.event.ComplexEvent event,
org.wso2.siddhi.core.util.collection.UpdateAttributeMapper[] updateAttributeMappers) |
public static int putEvents(int tenantId,
String tableName,
List<org.wso2.siddhi.query.api.definition.Attribute> attrs,
org.wso2.siddhi.core.event.ComplexEventChunk<org.wso2.siddhi.core.event.ComplexEvent> addingEventChunk)
public static Map<String,Object> streamEventToRecordValues(List<org.wso2.siddhi.query.api.definition.Attribute> attrs, org.wso2.siddhi.core.event.ComplexEvent event, org.wso2.siddhi.core.util.collection.UpdateAttributeMapper[] updateAttributeMappers)
public static List<org.wso2.carbon.analytics.datasource.commons.Record> getAllRecords(int tenantId, String tableName)
public static void deleteRecords(int tenantId,
String tableName,
List<org.wso2.carbon.analytics.datasource.commons.Record> records)
public static org.wso2.siddhi.core.event.stream.StreamEvent recordsToStreamEvent(List<org.wso2.siddhi.query.api.definition.Attribute> attrs, List<org.wso2.carbon.analytics.datasource.commons.Record> records)
public static org.wso2.siddhi.core.event.stream.StreamEvent recordToStreamEvent(List<org.wso2.siddhi.query.api.definition.Attribute> attrs, org.wso2.carbon.analytics.datasource.commons.Record record)
Copyright © 2018 WSO2. All rights reserved.