public class DictionarySQLQueries extends SqlConnection
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
CONFIGURATION_FILE_TYPE_DOCSIS |
static java.lang.Integer |
CONFIGURATION_FILE_TYPE_DPOE |
static java.lang.Integer |
CONFIGURATION_FILE_TYPE_PACKET_CABLE |
static java.lang.String |
DOCSIS_DICTIONARY_TABLE_NAME |
static java.lang.String |
DPOE_DICTIONARY_TABLE_NAME |
static java.lang.String |
PACKET_CABLE_DICTIONARY_TABLE_NAME |
Constructor and Description |
---|
DictionarySQLQueries() |
DictionarySQLQueries(java.sql.Connection commSqlConnection,
java.lang.String sDictionaryTableName) |
DictionarySQLQueries(java.lang.String sDictionaryTableName) |
Modifier and Type | Method and Description |
---|---|
org.json.JSONArray |
getAllTlvDefinition(int iCableLabsConfigType) |
java.util.Map<java.lang.String,java.lang.Integer> |
getAllTopLevelTypeNameToType() |
java.lang.String |
getDictionaryTableName() |
void |
getMajorTlvDefinition(java.lang.Integer iType) |
org.json.JSONObject |
getTlvDefinition(int iType) |
org.json.JSONObject |
getTlvDictionary(int iType) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getTopLevelByteLength() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getTypeToByteLengthMap(java.lang.String sQueryType) |
void |
updateDictionaryTablename(java.lang.String sCableLabsDictionaryTableName) |
getConnectionID, getRowCount, getRowCount
public static final java.lang.String DOCSIS_DICTIONARY_TABLE_NAME
public static final java.lang.String PACKET_CABLE_DICTIONARY_TABLE_NAME
public static final java.lang.String DPOE_DICTIONARY_TABLE_NAME
public static final java.lang.Integer CONFIGURATION_FILE_TYPE_DOCSIS
public static final java.lang.Integer CONFIGURATION_FILE_TYPE_PACKET_CABLE
public static final java.lang.Integer CONFIGURATION_FILE_TYPE_DPOE
public DictionarySQLQueries(java.sql.Connection commSqlConnection, java.lang.String sDictionaryTableName)
commSqlConnection
- sDictionaryTableName
- public DictionarySQLQueries(java.lang.String sDictionaryTableName)
sDictionaryTableName
- public DictionarySQLQueries()
public org.json.JSONObject getTlvDictionary(int iType)
iType
- public void getMajorTlvDefinition(java.lang.Integer iType)
iType
- public org.json.JSONObject getTlvDefinition(int iType)
iType
- public org.json.JSONArray getAllTlvDefinition(int iCableLabsConfigType)
iCableLabsConfigType
- public java.util.Map<java.lang.Integer,java.lang.Integer> getTopLevelByteLength()
public java.util.Map<java.lang.String,java.lang.Integer> getAllTopLevelTypeNameToType()
public java.lang.String getDictionaryTableName()
public void updateDictionaryTablename(java.lang.String sCableLabsDictionaryTableName)
sCableLabsDictionaryTableName
- public java.util.Map<java.lang.Integer,java.lang.Integer> getTypeToByteLengthMap(java.lang.String sQueryType)
sQueryType
- String