Package com.github.ambry.store
Interface StoreKeyFactory
-
public interface StoreKeyFactory
Factory to create an index key
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StoreKey
getStoreKey(java.io.DataInputStream stream)
The store key created using the stream providedStoreKey
getStoreKey(java.lang.String input)
The store key created using the input provided
-
-
-
Method Detail
-
getStoreKey
StoreKey getStoreKey(java.io.DataInputStream stream) throws java.io.IOException
The store key created using the stream provided- Parameters:
stream
- The stream used to create the store key- Returns:
- The store key created from the stream
- Throws:
java.io.IOException
-
getStoreKey
StoreKey getStoreKey(java.lang.String input) throws java.io.IOException
The store key created using the input provided- Parameters:
input
- The string used to create the store key- Returns:
- The store key created from the string
- Throws:
java.io.IOException
-
-