import { ClientOptions , auth } from 'cassandra-driver' ; import { ICassandraClientOptionsProvider } from './ICassandraClientOptionsProvider' ; import { ICassandraConnectParams } from '../../../typings/cassandra' ; export default class CustomCassandraClientOptionsProvider implements ICassandraClientOptionsProvider { public getLocalDatacenter ( _region ) { throw new Error ( 'CustomCassandraClientOptionsProvider must implement getLocalDatacenter()' ) ; } public getAuthProvider ( _username , _password ) { throw new Error ( 'CustomCassandraClientOptionsProvider must implement getAuthProvider()' ) ; } public getPolicies ( _region ) { throw new Error ( 'CustomCassandraClientOptionsProvider must implement getPolicies()' ) ; } public getPoolingOptions ( ) { throw new Error ( 'CustomCassandraClientOptionsProvider must implement getPolicies()' ) ; } public getSocketOptions ( ) { throw new Error ( 'CustomCassandraClientOptionsProvider must implement getPolicies()' ) ; } public async getSslOptions ( _params ) { return undefined ; } }