Package org.apache.pinot.spi.crypt
Class PinotCrypterFactory
- java.lang.Object
-
- org.apache.pinot.spi.crypt.PinotCrypterFactory
-
public class PinotCrypterFactory extends Object
This factory instantiates the PinotCrypter, which participates in encrypting and decrypting files.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOGGER
-
Method Summary
Modifier and Type Method Description static PinotCryptercreate(String crypterClassName)static voidinit(PinotConfiguration config)Initializes map of crypter classes at startup time.
-
-
-
Method Detail
-
init
public static void init(PinotConfiguration config)
Initializes map of crypter classes at startup time. Will initialize map with lower case simple class names.- Parameters:
config- Sample configuration: class.nooppinotcrypter = org.apache.pinot.core.crypt.NoOpPinotCrypter nooppinotcrypter.keyMap = sample_key
-
create
public static PinotCrypter create(String crypterClassName)
-
-