Class TableDataService.Null
java.lang.Object
com.illumon.iris.db.v2.tabledataservice.TableDataService.Null
- All Implemented Interfaces:
TableDataService,TableDataServiceKey,NamedImplementation
- Enclosing interface:
- TableDataService
public static class TableDataService.Null
extends Object
implements TableDataService, TableDataServiceKey
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.tabledataservice.TableDataService
TableDataService.Null -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidAuthenticate the TableDataService usingAuthenticationClientManager.getDefault()getKey()Return a key object that identifies this TableDataService instance, and does not hold resources.Get the collection of table location providers that are currently instantiated.getName()Allow TableDataService instances to have names.getTableLocationProvider(TableKey tableKey) Request a table location provider from this service.voidreset()Forget all state for future requests.voidForget all state for a single table.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.util.type.NamedImplementation
getImplementationNameMethods inherited from interface com.illumon.iris.db.v2.tabledataservice.TableDataService
describe, getTableLocationProvider, shutdown
-
Field Details
-
INSTANCE
-
-
Method Details
-
getTableLocationProvider
Description copied from interface:TableDataServiceRequest a table location provider from this service.- Specified by:
getTableLocationProviderin interfaceTableDataService- Parameters:
tableKey- The table key- Returns:
- A table location provider for the specified key
-
getKnownLocationProviders
Description copied from interface:TableDataServiceGet the collection of table location providers that are currently instantiated. The returned map is unmodifiable and stable.- Specified by:
getKnownLocationProvidersin interfaceTableDataService- Returns:
- map of TableKey to TableLocationProvider
-
reset
public void reset()Description copied from interface:TableDataServiceForget all state for future requests.- Specified by:
resetin interfaceTableDataService
-
reset
Description copied from interface:TableDataServiceForget all state for a single table.- Specified by:
resetin interfaceTableDataService- Parameters:
key- forget state for this TableKey
-
getName
Description copied from interface:TableDataServiceAllow TableDataService instances to have names.- Specified by:
getNamein interfaceTableDataService
-
authenticate
public void authenticate()Description copied from interface:TableDataServiceAuthenticate the TableDataService usingAuthenticationClientManager.getDefault()- Specified by:
authenticatein interfaceTableDataService
-
getKey
Description copied from interface:TableDataServiceReturn a key object that identifies this TableDataService instance, and does not hold resources.- Specified by:
getKeyin interfaceTableDataService- Returns:
- a TableDataServiceKey for this TableDataService
-