com.senseidb.conf
Class SenseiSchema

java.lang.Object
  extended by com.senseidb.conf.SenseiSchema

public class SenseiSchema
extends Object


Nested Class Summary
static class SenseiSchema.FieldDefinition
           
 
Field Summary
static String EVENT_FIELD
           
static String EVENT_TYPE_ADD
           
static String EVENT_TYPE_DELETE
           
static String EVENT_TYPE_FIELD
           
static String EVENT_TYPE_SKIP
           
static String EVENT_TYPE_UPDATE
           
static String SRC_DATA_COMPRESSED_FIELD_NAME
           
static String SRC_DATA_FIELD_NAME
           
 
Method Summary
static SenseiSchema build(Document schemaDoc)
           
static SenseiSchema build(org.json.JSONObject schemaObj)
           
 String getDeleteField()
           
 Map<String,SenseiSchema.FieldDefinition> getFieldDefMap()
           
 String getSkipField()
           
 String getSrcDataField()
           
 String getSrcDataStore()
           
 String getUidField()
           
 boolean isCompressSrcData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SRC_DATA_FIELD_NAME

public static final String SRC_DATA_FIELD_NAME
See Also:
Constant Field Values

SRC_DATA_COMPRESSED_FIELD_NAME

public static final String SRC_DATA_COMPRESSED_FIELD_NAME
See Also:
Constant Field Values

EVENT_TYPE_FIELD

public static final String EVENT_TYPE_FIELD
See Also:
Constant Field Values

EVENT_FIELD

public static final String EVENT_FIELD
See Also:
Constant Field Values

EVENT_TYPE_ADD

public static final String EVENT_TYPE_ADD
See Also:
Constant Field Values

EVENT_TYPE_UPDATE

public static final String EVENT_TYPE_UPDATE
See Also:
Constant Field Values

EVENT_TYPE_DELETE

public static final String EVENT_TYPE_DELETE
See Also:
Constant Field Values

EVENT_TYPE_SKIP

public static final String EVENT_TYPE_SKIP
See Also:
Constant Field Values
Method Detail

getUidField

public String getUidField()

getDeleteField

public String getDeleteField()

getSkipField

public String getSkipField()

getSrcDataField

public String getSrcDataField()

getSrcDataStore

public String getSrcDataStore()

isCompressSrcData

public boolean isCompressSrcData()

getFieldDefMap

public Map<String,SenseiSchema.FieldDefinition> getFieldDefMap()

build

public static SenseiSchema build(org.json.JSONObject schemaObj)
                          throws org.json.JSONException,
                                 org.apache.commons.configuration.ConfigurationException
Throws:
org.json.JSONException
org.apache.commons.configuration.ConfigurationException

build

public static SenseiSchema build(Document schemaDoc)
                          throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException


Copyright © 2010-2012. All Rights Reserved.