test_class.file: oak-segment-remote/src/test/java/org/apache/jackrabbit/oak/segment/remote/RemoteBlobMetadataTest.java
test_class.identifier: RemoteBlobMetadataTest
test_case.body: @Test
      public void isSegment() {
          assertTrue(RemoteBlobMetadata.isSegment(Collections.singletonMap("type", "segment")));
  
          assertFalse(RemoteBlobMetadata.isSegment(Collections.singletonMap("type", "index")));
      }
test_case.class_method_signature: RemoteBlobMetadataTest.isSegment()
test_case.full_signature: @Test public void isSegment()
test_case.identifier: isSegment
test_case.invocations: assertTrue isSegment singletonMap assertFalse isSegment singletonMap
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isSegment()
focal_class.declarator: METADATA_TYPE = "type"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_TYPE = "type";
focal_class.type: String
focal_class.var_name: METADATA_TYPE
focal_class.declarator: METADATA_SEGMENT_UUID = "uuid"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_SEGMENT_UUID = "uuid";
focal_class.type: String
focal_class.var_name: METADATA_SEGMENT_UUID
focal_class.declarator: METADATA_SEGMENT_POSITION = "position"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_SEGMENT_POSITION = "position";
focal_class.type: String
focal_class.var_name: METADATA_SEGMENT_POSITION
focal_class.declarator: METADATA_SEGMENT_GENERATION = "generation"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_SEGMENT_GENERATION = "generation";
focal_class.type: String
focal_class.var_name: METADATA_SEGMENT_GENERATION
focal_class.declarator: METADATA_SEGMENT_FULL_GENERATION = "fullGeneration"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_SEGMENT_FULL_GENERATION = "fullGeneration";
focal_class.type: String
focal_class.var_name: METADATA_SEGMENT_FULL_GENERATION
focal_class.declarator: METADATA_SEGMENT_COMPACTED = "compacted"
focal_class.modifier: public static final
focal_class.original_string: public static final String METADATA_SEGMENT_COMPACTED = "compacted";
focal_class.type: String
focal_class.var_name: METADATA_SEGMENT_COMPACTED
focal_class.declarator: TYPE_SEGMENT = "segment"
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE_SEGMENT = "segment";
focal_class.type: String
focal_class.var_name: TYPE_SEGMENT
focal_class.file: oak-segment-remote/src/main/java/org/apache/jackrabbit/oak/segment/remote/RemoteBlobMetadata.java
focal_class.identifier: RemoteBlobMetadata
focal_class.class_method_signature: RemoteBlobMetadata.toSegmentMetadata(RemoteSegmentArchiveEntry indexEntry)
focal_class.full_signature: public static HashMap<String, String> toSegmentMetadata(RemoteSegmentArchiveEntry indexEntry)
focal_class.identifier: toSegmentMetadata
focal_class.modifiers: public static
focal_class.parameters: (RemoteSegmentArchiveEntry indexEntry)
focal_class.return: HashMap<String, String>
focal_class.signature: HashMap<String, String> toSegmentMetadata(RemoteSegmentArchiveEntry indexEntry)
focal_class.class_method_signature: RemoteBlobMetadata.toIndexEntry(Map<String, String> metadata, int length)
focal_class.full_signature: public static RemoteSegmentArchiveEntry toIndexEntry(Map<String, String> metadata, int length)
focal_class.identifier: toIndexEntry
focal_class.modifiers: public static
focal_class.parameters: (Map<String, String> metadata, int length)
focal_class.return: RemoteSegmentArchiveEntry
focal_class.signature: RemoteSegmentArchiveEntry toIndexEntry(Map<String, String> metadata, int length)
focal_class.class_method_signature: RemoteBlobMetadata.isSegment(Map<String, String> metadata)
focal_class.full_signature: public static boolean isSegment(Map<String, String> metadata)
focal_class.identifier: isSegment
focal_class.modifiers: public static
focal_class.parameters: (Map<String, String> metadata)
focal_class.return: boolean
focal_class.signature: boolean isSegment(Map<String, String> metadata)
focal_method.body: public static boolean isSegment(Map<String, String> metadata) {
          return metadata != null && TYPE_SEGMENT.equals(metadata.get(METADATA_TYPE));
      }
focal_method.class_method_signature: RemoteBlobMetadata.isSegment(Map<String, String> metadata)
focal_method.full_signature: public static boolean isSegment(Map<String, String> metadata)
focal_method.identifier: isSegment
focal_method.invocations: equals get
focal_method.modifiers: public static
focal_method.parameters: (Map<String, String> metadata)
focal_method.return: boolean
focal_method.signature: boolean isSegment(Map<String, String> metadata)