test_class.declarator: hazelcastInstance
test_class.modifier: private
test_class.original_string: private HazelcastInstance hazelcastInstance;
test_class.type: HazelcastInstance
test_class.var_name: hazelcastInstance
test_class.declarator: distributedTableMetadataManager
test_class.modifier: private
test_class.original_string: private DistributedTableMetadataManager distributedTableMetadataManager;
test_class.type: DistributedTableMetadataManager
test_class.var_name: distributedTableMetadataManager
test_class.declarator: elasticsearchServer
test_class.modifier: private
test_class.original_string: private MockElasticsearchServer elasticsearchServer;
test_class.type: MockElasticsearchServer
test_class.var_name: elasticsearchServer
test_class.declarator: tableDataStore
test_class.modifier: private
test_class.original_string: private IMap<String, Table> tableDataStore;
test_class.type: IMap<String, Table>
test_class.var_name: tableDataStore
test_class.file: real-time/foxtrot/foxtrot-core/src/test/java/com/flipkart/foxtrot/core/querystore/impl/DistributedTableMetadataManagerTest.java
test_class.identifier: DistributedTableMetadataManagerTest
test_case.body: @Test
      public void testExists() throws Exception {
          Table table = new Table();
          table.setName(TestUtils.TEST_TABLE_NAME);
          table.setTtl(15);
          distributedTableMetadataManager.save(table);
          assertTrue(distributedTableMetadataManager.exists(table.getName()));
          assertFalse(distributedTableMetadataManager.exists("DUMMY_TEST_NAME_NON_EXISTENT"));
      }
test_case.class_method_signature: DistributedTableMetadataManagerTest.testExists()
test_case.full_signature: @Test public void testExists()
test_case.identifier: testExists
test_case.invocations: setName setTtl save assertTrue exists getName assertFalse exists
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExists()
focal_class.declarator: logger = LoggerFactory.getLogger(DistributedTableMetadataManager.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(DistributedTableMetadataManager.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: DATA_MAP = "tablemetadatamap"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATA_MAP = "tablemetadatamap";
focal_class.type: String
focal_class.var_name: DATA_MAP
focal_class.declarator: hazelcastConnection
focal_class.modifier: private final
focal_class.original_string: private final HazelcastConnection hazelcastConnection;
focal_class.type: HazelcastConnection
focal_class.var_name: hazelcastConnection
focal_class.declarator: tableDataStore
focal_class.modifier: private
focal_class.original_string: private IMap<String, Table> tableDataStore;
focal_class.type: IMap<String, Table>
focal_class.var_name: tableDataStore
focal_class.file: real-time/foxtrot/foxtrot-core/src/main/java/com/flipkart/foxtrot/core/querystore/impl/DistributedTableMetadataManager.java
focal_class.identifier: DistributedTableMetadataManager
focal_class.interfaces: implements TableMetadataManager
focal_class.class_method_signature: DistributedTableMetadataManager.DistributedTableMetadataManager(HazelcastConnection hazelcastConnection,
                                             ElasticsearchConnection elasticsearchConnection)
focal_class.full_signature: public  DistributedTableMetadataManager(HazelcastConnection hazelcastConnection,
                                             ElasticsearchConnection elasticsearchConnection)
focal_class.identifier: DistributedTableMetadataManager
focal_class.modifiers: public
focal_class.parameters: (HazelcastConnection hazelcastConnection,
                                             ElasticsearchConnection elasticsearchConnection)
focal_class.signature:  DistributedTableMetadataManager(HazelcastConnection hazelcastConnection,
                                             ElasticsearchConnection elasticsearchConnection)
focal_class.class_method_signature: DistributedTableMetadataManager.save(Table table)
focal_class.full_signature: @Override public void save(Table table)
focal_class.identifier: save
focal_class.modifiers: @Override public
focal_class.parameters: (Table table)
focal_class.return: void
focal_class.signature: void save(Table table)
focal_class.class_method_signature: DistributedTableMetadataManager.get(String tableName)
focal_class.full_signature: @Override public Table get(String tableName)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName)
focal_class.return: Table
focal_class.signature: Table get(String tableName)
focal_class.class_method_signature: DistributedTableMetadataManager.get()
focal_class.full_signature: @Override public List<Table> get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Table>
focal_class.signature: List<Table> get()
focal_class.class_method_signature: DistributedTableMetadataManager.exists(String tableName)
focal_class.full_signature: @Override public boolean exists(String tableName)
focal_class.identifier: exists
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName)
focal_class.return: boolean
focal_class.signature: boolean exists(String tableName)
focal_class.class_method_signature: DistributedTableMetadataManager.delete(String tableName)
focal_class.full_signature: @Override public void delete(String tableName)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (String tableName)
focal_class.return: void
focal_class.signature: void delete(String tableName)
focal_class.class_method_signature: DistributedTableMetadataManager.start()
focal_class.full_signature: @Override public void start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: DistributedTableMetadataManager.stop()
focal_class.full_signature: @Override public void stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_method.body: @Override
      public boolean exists(String tableName) throws Exception {
          return tableDataStore.containsKey(tableName);
      }
focal_method.class_method_signature: DistributedTableMetadataManager.exists(String tableName)
focal_method.full_signature: @Override public boolean exists(String tableName)
focal_method.identifier: exists
focal_method.invocations: containsKey
focal_method.modifiers: @Override public
focal_method.parameters: (String tableName)
focal_method.return: boolean
focal_method.signature: boolean exists(String tableName)