public final class ThriftEventConverter extends Object implements org.wso2.carbon.databridge.core.EventConverter
| Constructor and Description |
|---|
ThriftEventConverter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfEvents(Object eventBundle) |
int |
getSize(Object eventBundle) |
List<org.wso2.carbon.databridge.commons.Event> |
toEventList(Object eventBundle,
org.wso2.carbon.databridge.core.StreamTypeHolder streamTypeHolder) |
Object[] |
toObjectArray(org.wso2.carbon.databridge.commons.thrift.data.ThriftEventBundle thriftEventBundle,
org.wso2.carbon.databridge.commons.AttributeType[] attributeTypeOrder,
IndexCounter indexCounter) |
public Object[] toObjectArray(org.wso2.carbon.databridge.commons.thrift.data.ThriftEventBundle thriftEventBundle, org.wso2.carbon.databridge.commons.AttributeType[] attributeTypeOrder, IndexCounter indexCounter)
public List<org.wso2.carbon.databridge.commons.Event> toEventList(Object eventBundle, org.wso2.carbon.databridge.core.StreamTypeHolder streamTypeHolder)
toEventList in interface org.wso2.carbon.databridge.core.EventConverterpublic int getSize(Object eventBundle)
getSize in interface org.wso2.carbon.databridge.core.EventConverterpublic int getNumberOfEvents(Object eventBundle)
getNumberOfEvents in interface org.wso2.carbon.databridge.core.EventConverterCopyright © 2017 WSO2. All rights reserved.