/** * Get registry keys of value serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getValueSerde(String tableId) { return get(String.format(TABLE_VALUE_SERDE, tableId), null); } }
/** * Get registry keys of key serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getKeySerde(String tableId) { return get(String.format(TABLE_KEY_SERDE, tableId), null); }
/** * Get the {@link org.apache.samza.table.descriptors.TableProviderFactory} class for a table * @param tableId Id of the table * @return the {@link org.apache.samza.table.descriptors.TableProviderFactory} class name */ public String getTableProviderFactory(String tableId) { return get(String.format(TABLE_PROVIDER_FACTORY, tableId), null); }
/** * Get registry keys of key serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getKeySerde(String tableId) { return get(String.format(TABLE_KEY_SERDE, tableId), null); }
/** * Get the {@link org.apache.samza.table.TableProviderFactory} class name for a table * @param tableId Id of the table * @return the {@link org.apache.samza.table.TableProviderFactory} class name */ public String getTableProviderFactory(String tableId) { return get(String.format(TABLE_PROVIDER_FACTORY, tableId), null); }
/** * Get registry keys of key serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getKeySerde(String tableId) { return get(String.format(STORE_KEY_SERDE, tableId), null); }
/** * Get registry keys of value serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getMsgSerde(String tableId) { return get(String.format(STORE_MSG_SERDE, tableId), null); }
/** * Get the {@link org.apache.samza.table.descriptors.TableProviderFactory} class for a table * @param tableId Id of the table * @return the {@link org.apache.samza.table.descriptors.TableProviderFactory} class name */ public String getTableProviderFactory(String tableId) { return get(String.format(TABLE_PROVIDER_FACTORY, tableId), null); }
/** * Get the {@link org.apache.samza.table.descriptors.TableProviderFactory} class for a table * @param tableId Id of the table * @return the {@link org.apache.samza.table.descriptors.TableProviderFactory} class name */ public String getTableProviderFactory(String tableId) { return get(String.format(TABLE_PROVIDER_FACTORY, tableId), null); }
/** * Get registry keys of key serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getKeySerde(String tableId) { return get(String.format(TABLE_KEY_SERDE, tableId), null); }
/** * Get registry keys of value serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getValueSerde(String tableId) { return get(String.format(TABLE_VALUE_SERDE, tableId), null); } }
/** * Get registry keys of key serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getKeySerde(String tableId) { return get(String.format(TABLE_KEY_SERDE, tableId), null); }
/** * Get registry keys of value serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getValueSerde(String tableId) { return get(String.format(TABLE_VALUE_SERDE, tableId), null); } }
/** * Get registry keys of value serde for this table * @param tableId Id of the table * @return serde retistry key */ public String getValueSerde(String tableId) { return get(String.format(TABLE_VALUE_SERDE, tableId), null); } }
/** * Get the {@link org.apache.samza.table.descriptors.TableProviderFactory} class for a table * @param tableId Id of the table * @return the {@link org.apache.samza.table.descriptors.TableProviderFactory} class name */ public String getTableProviderFactory(String tableId) { return get(String.format(TABLE_PROVIDER_FACTORY, tableId), null); }
/** * Get table config value for a key * @param tableId Id of the table * @param key Key for the config item * @param defaultValue default value if absent in config * @return config value for the key */ public String getForTable(String tableId, String key, String defaultValue) { return get(buildKey(tableId, key), defaultValue); }