test_class.declarator: folder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder folder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: folder
test_class.declarator: expectedEx = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException expectedEx = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: expectedEx
test_class.file: oak-blob-plugins/src/test/java/org/apache/jackrabbit/oak/plugins/blob/datastore/OakFileDataStoreTest.java
test_class.identifier: OakFileDataStoreTest
test_case.body: @Test
      public void testGetAllIdentifiers() throws Exception {
          File f = new File("./target", "oak-fds-test3");
          testGetAllIdentifiers(f.getAbsolutePath(), f.getPath());
      }
test_case.class_method_signature: OakFileDataStoreTest.testGetAllIdentifiers()
test_case.full_signature: @Test public void testGetAllIdentifiers()
test_case.identifier: testGetAllIdentifiers
test_case.invocations: testGetAllIdentifiers getAbsolutePath getPath
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetAllIdentifiers()
focal_class.declarator: LOG = LoggerFactory.getLogger(OakFileDataStore.class)
focal_class.modifier: public static final
focal_class.original_string: public static final Logger LOG = LoggerFactory.getLogger(OakFileDataStore.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: DEFAULT_MIN_RECORD_LENGTH = 4096
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_MIN_RECORD_LENGTH = 4096;
focal_class.type: int
focal_class.var_name: DEFAULT_MIN_RECORD_LENGTH
focal_class.declarator: referenceKey
focal_class.modifier: private
focal_class.original_string: private byte[] referenceKey;
focal_class.type: byte[]
focal_class.var_name: referenceKey
focal_class.file: oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/OakFileDataStore.java
focal_class.identifier: OakFileDataStore
focal_class.interfaces: implements SharedDataStore
focal_class.class_method_signature: OakFileDataStore.OakFileDataStore()
focal_class.full_signature: public  OakFileDataStore()
focal_class.identifier: OakFileDataStore
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  OakFileDataStore()
focal_class.class_method_signature: OakFileDataStore.getAllIdentifiers()
focal_class.full_signature: @Override public Iterator<DataIdentifier> getAllIdentifiers()
focal_class.identifier: getAllIdentifiers
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<DataIdentifier>
focal_class.signature: Iterator<DataIdentifier> getAllIdentifiers()
focal_class.class_method_signature: OakFileDataStore.getOrCreateReferenceKey()
focal_class.full_signature: @Override protected byte[] getOrCreateReferenceKey()
focal_class.identifier: getOrCreateReferenceKey
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getOrCreateReferenceKey()
focal_class.class_method_signature: OakFileDataStore.setReferenceKeyEncoded(String encodedKey)
focal_class.full_signature: public void setReferenceKeyEncoded(String encodedKey)
focal_class.identifier: setReferenceKeyEncoded
focal_class.modifiers: public
focal_class.parameters: (String encodedKey)
focal_class.return: void
focal_class.signature: void setReferenceKeyEncoded(String encodedKey)
focal_class.class_method_signature: OakFileDataStore.setReferenceKeyPlainText(String textKey)
focal_class.full_signature: public void setReferenceKeyPlainText(String textKey)
focal_class.identifier: setReferenceKeyPlainText
focal_class.modifiers: public
focal_class.parameters: (String textKey)
focal_class.return: void
focal_class.signature: void setReferenceKeyPlainText(String textKey)
focal_class.class_method_signature: OakFileDataStore.setReferenceKey(byte[] referenceKey)
focal_class.full_signature: public void setReferenceKey(byte[] referenceKey)
focal_class.identifier: setReferenceKey
focal_class.modifiers: public
focal_class.parameters: (byte[] referenceKey)
focal_class.return: void
focal_class.signature: void setReferenceKey(byte[] referenceKey)
focal_class.class_method_signature: OakFileDataStore.addMetadataRecord(InputStream input, String name)
focal_class.full_signature: @Override public void addMetadataRecord(InputStream input, String name)
focal_class.identifier: addMetadataRecord
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream input, String name)
focal_class.return: void
focal_class.signature: void addMetadataRecord(InputStream input, String name)
focal_class.class_method_signature: OakFileDataStore.addMetadataRecord(File input, String name)
focal_class.full_signature: @Override public void addMetadataRecord(File input, String name)
focal_class.identifier: addMetadataRecord
focal_class.modifiers: @Override public
focal_class.parameters: (File input, String name)
focal_class.return: void
focal_class.signature: void addMetadataRecord(File input, String name)
focal_class.class_method_signature: OakFileDataStore.getMetadataRecord(String name)
focal_class.full_signature: @Override public DataRecord getMetadataRecord(String name)
focal_class.identifier: getMetadataRecord
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: DataRecord
focal_class.signature: DataRecord getMetadataRecord(String name)
focal_class.class_method_signature: OakFileDataStore.metadataRecordExists(String name)
focal_class.full_signature: @Override public boolean metadataRecordExists(String name)
focal_class.identifier: metadataRecordExists
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean metadataRecordExists(String name)
focal_class.class_method_signature: OakFileDataStore.getAllMetadataRecords(String prefix)
focal_class.full_signature: @Override public List<DataRecord> getAllMetadataRecords(String prefix)
focal_class.identifier: getAllMetadataRecords
focal_class.modifiers: @Override public
focal_class.parameters: (String prefix)
focal_class.return: List<DataRecord>
focal_class.signature: List<DataRecord> getAllMetadataRecords(String prefix)
focal_class.class_method_signature: OakFileDataStore.deleteMetadataRecord(String name)
focal_class.full_signature: @Override public boolean deleteMetadataRecord(String name)
focal_class.identifier: deleteMetadataRecord
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean deleteMetadataRecord(String name)
focal_class.class_method_signature: OakFileDataStore.deleteAllMetadataRecords(String prefix)
focal_class.full_signature: @Override public void deleteAllMetadataRecords(String prefix)
focal_class.identifier: deleteAllMetadataRecords
focal_class.modifiers: @Override public
focal_class.parameters: (String prefix)
focal_class.return: void
focal_class.signature: void deleteAllMetadataRecords(String prefix)
focal_class.class_method_signature: OakFileDataStore.getAllRecords()
focal_class.full_signature: @Override public Iterator<DataRecord> getAllRecords()
focal_class.identifier: getAllRecords
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<DataRecord>
focal_class.signature: Iterator<DataRecord> getAllRecords()
focal_class.class_method_signature: OakFileDataStore.getRecordForId(DataIdentifier id)
focal_class.full_signature: @Override public DataRecord getRecordForId(DataIdentifier id)
focal_class.identifier: getRecordForId
focal_class.modifiers: @Override public
focal_class.parameters: (DataIdentifier id)
focal_class.return: DataRecord
focal_class.signature: DataRecord getRecordForId(DataIdentifier id)
focal_class.class_method_signature: OakFileDataStore.getType()
focal_class.full_signature: @Override public Type getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Type
focal_class.signature: Type getType()
focal_class.superclass: extends FileDataStore
focal_method.body: @Override
      public Iterator<DataIdentifier> getAllIdentifiers() {
          final String path = normalizeNoEndSeparator(new File(getPath()).getAbsolutePath());
          return Files.fileTreeTraverser().postOrderTraversal(new File(path))
                  .filter(new Predicate<File>() {
                      @Override
                      public boolean apply(File input) {
                          return input.isFile() &&
                              !input.getParent().equals(path);
                      }
                  })
                  .transform(new Function<File, DataIdentifier>() {
                      @Override
                      public DataIdentifier apply(File input) {
                          return new DataIdentifier(input.getName());
                      }
                  }).iterator();
      }
focal_method.class_method_signature: OakFileDataStore.getAllIdentifiers()
focal_method.full_signature: @Override public Iterator<DataIdentifier> getAllIdentifiers()
focal_method.identifier: getAllIdentifiers
focal_method.invocations: normalizeNoEndSeparator getAbsolutePath getPath iterator transform filter postOrderTraversal fileTreeTraverser isFile equals getParent getName
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Iterator<DataIdentifier>
focal_method.signature: Iterator<DataIdentifier> getAllIdentifiers()