@Test public void loadMetadataOptionsDefaults() { LoadMetadataPOptions options = FileSystemOptions.loadMetadataDefaults(mConf); assertNotNull(options); assertFalse(options.getRecursive()); assertFalse(options.getCreateAncestors()); assertEquals(options.getLoadDescendantType(), LoadDescendantPType.NONE); }
public static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf) { return LoadMetadataPOptions.newBuilder() .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setCreateAncestors(false) .setLoadDescendantType(LoadDescendantPType.NONE) .build(); }
FileSystemOptions { public static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf) { return LoadMetadataPOptions.newBuilder() .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setCreateAncestors(false) .setLoadDescendantType(LoadDescendantPType.NONE) .build(); } }
FileSystemOptions { public static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf) { return LoadMetadataPOptions.newBuilder() .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setCreateAncestors(false) .setLoadDescendantType(LoadDescendantPType.NONE) .build(); }  }
FileSystemOptions { public static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf) { return LoadMetadataPOptions.newBuilder() .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setCreateAncestors(false) .setLoadDescendantType(LoadDescendantPType.NONE) .build(); }  static ScheduleAsyncPersistencePOptions scheduleAsyncPersistenceDefaults(
      AlluxioConfiguration conf); static CreateDirectoryPOptions createDirectoryDefaults(AlluxioConfiguration conf); static CheckConsistencyPOptions checkConsistencyDefaults(AlluxioConfiguration conf); static CreateFilePOptions createFileDefaults(AlluxioConfiguration conf); static DeletePOptions deleteDefaults(AlluxioConfiguration conf); static ExistsPOptions existsDefaults(AlluxioConfiguration conf); static FileSystemMasterCommonPOptions commonDefaults(
      AlluxioConfiguration conf); static FreePOptions freeDefaults(AlluxioConfiguration conf); static GetStatusPOptions getStatusDefaults(AlluxioConfiguration conf); static ListStatusPOptions listStatusDefaults(AlluxioConfiguration conf); static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf); static MountPOptions mountDefaults(AlluxioConfiguration conf); static OpenFilePOptions openFileDefaults(AlluxioConfiguration conf); static RenamePOptions renameDefaults(AlluxioConfiguration conf); static ScheduleAsyncPersistencePOptions scheduleAsyncPersistDefaults(
      AlluxioConfiguration conf); static SetAclPOptions setAclDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeClientDefaults(AlluxioConfiguration conf); static UnmountPOptions unmountDefaults(AlluxioConfiguration conf); }
FileSystemOptions { public static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf) { return LoadMetadataPOptions.newBuilder() .setCommonOptions(commonDefaults(conf)) .setRecursive(false) .setCreateAncestors(false) .setLoadDescendantType(LoadDescendantPType.NONE) .build(); }  static ScheduleAsyncPersistencePOptions scheduleAsyncPersistenceDefaults(
      AlluxioConfiguration conf); static CreateDirectoryPOptions createDirectoryDefaults(AlluxioConfiguration conf); static CheckConsistencyPOptions checkConsistencyDefaults(AlluxioConfiguration conf); static CreateFilePOptions createFileDefaults(AlluxioConfiguration conf); static DeletePOptions deleteDefaults(AlluxioConfiguration conf); static ExistsPOptions existsDefaults(AlluxioConfiguration conf); static FileSystemMasterCommonPOptions commonDefaults(
      AlluxioConfiguration conf); static FreePOptions freeDefaults(AlluxioConfiguration conf); static GetStatusPOptions getStatusDefaults(AlluxioConfiguration conf); static ListStatusPOptions listStatusDefaults(AlluxioConfiguration conf); static LoadMetadataPOptions loadMetadataDefaults(AlluxioConfiguration conf); static MountPOptions mountDefaults(AlluxioConfiguration conf); static OpenFilePOptions openFileDefaults(AlluxioConfiguration conf); static RenamePOptions renameDefaults(AlluxioConfiguration conf); static ScheduleAsyncPersistencePOptions scheduleAsyncPersistDefaults(
      AlluxioConfiguration conf); static SetAclPOptions setAclDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeDefaults(AlluxioConfiguration conf); static SetAttributePOptions setAttributeClientDefaults(AlluxioConfiguration conf); static UnmountPOptions unmountDefaults(AlluxioConfiguration conf);  }