<?xml version="1.0" encoding="UTF-8"?>
<EventStoreConfiguration>
    <TableSchema>
        <ColumnDefinition>
            <Name>meta_tenantId</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>bucketId</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>bucketStart</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>bucketEnd</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>true</EnableIndexing>
            <IsPrimaryKey>true</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>year</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>month</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>day</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>hour</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>minute</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>INTEGER</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>activeSessionCount</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>newSessionCount</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
        <ColumnDefinition>
            <Name>terminatedSessionCount</Name>
            <IsFacet>false</IsFacet>
            <EnableIndexing>false</EnableIndexing>
            <IsPrimaryKey>false</IsPrimaryKey>
            <EnableScoreParam>false</EnableScoreParam>
            <Type>LONG</Type>
        </ColumnDefinition>
    </TableSchema>
    <Source>
        <StreamId>org.wso2.is.analytics.stream.SessionStatPerMinute:1.0.0</StreamId>
    </Source>
    <MergeSchema>false</MergeSchema>
    <RecordStoreName>EVENT_STORE_WO</RecordStoreName>
</EventStoreConfiguration>