Tabnine Logo
StorageLocationConfig.setPath
Code IndexAdd Tabnine to your IDE (free)

How to use
setPath
method
in
org.apache.druid.segment.loading.StorageLocationConfig

Best Java code snippets using org.apache.druid.segment.loading.StorageLocationConfig.setPath (Showing top 8 results out of 315)

origin: apache/incubator-druid

 public SegmentLoader manufacturate(File storageDir)
 {
  return loader.withConfig(
    new SegmentLoaderConfig().withLocations(Collections.singletonList(new StorageLocationConfig().setPath(storageDir)))
  );
 }
}
origin: apache/incubator-druid

 @Override
 public List<StorageLocationConfig> getLocations()
 {
  return Collections.singletonList(
    new StorageLocationConfig().setPath(cacheDir)
  );
 }
},
origin: apache/incubator-druid

locationConfig.setPath(localStorageFolder);
locationConfig.setMaxSize(1000000000L);
locations.add(locationConfig);
locationConfig2.setPath(localStorageFolder2);
locationConfig2.setMaxSize(10000000L);
locations.add(locationConfig2);
origin: apache/incubator-druid

final File localStorageFolder = tmpFolder.newFolder("local_storage_folder");
localStorageFolder.setWritable(true);
locationConfig.setPath(localStorageFolder);
locationConfig.setMaxSize(10L);
locations.add(locationConfig);
final File localStorageFolder2 = tmpFolder.newFolder("local_storage_folder2");
localStorageFolder2.setWritable(true);
locationConfig2.setPath(localStorageFolder2);
locationConfig2.setMaxSize(10L);
locations.add(locationConfig2);
origin: apache/incubator-druid

@Before
public void setUp() throws Exception
{
 EmittingLogger.registerEmitter(new NoopServiceEmitter());
 localSegmentCacheFolder = tmpFolder.newFolder("segment_cache_folder");
 final List<StorageLocationConfig> locations = new ArrayList<>();
 final StorageLocationConfig locationConfig = new StorageLocationConfig();
 locationConfig.setPath(localSegmentCacheFolder);
 locationConfig.setMaxSize(10000000000L);
 locations.add(locationConfig);
 manager = new SegmentLoaderLocalCacheManager(
   TestHelper.getTestIndexIO(),
   new SegmentLoaderConfig().withLocations(locations),
   jsonMapper
 );
}
origin: apache/incubator-druid

locationConfig.setPath(localStorageFolder);
locationConfig.setMaxSize(1000000000L);
locations.add(locationConfig);
final StorageLocationConfig locationConfig2 = new StorageLocationConfig();
final File localStorageFolder2 = tmpFolder.newFolder("local_storage_folder2");
locationConfig2.setPath(localStorageFolder2);
locationConfig2.setMaxSize(10000000L);
locations.add(locationConfig2);
origin: apache/incubator-druid

locationConfig.setPath(localStorageFolder);
locationConfig.setMaxSize(10000000000L);
locations.add(locationConfig);
final StorageLocationConfig locationConfig2 = new StorageLocationConfig();
final File localStorageFolder2 = tmpFolder.newFolder("local_storage_folder2");
locationConfig2.setPath(localStorageFolder2);
locationConfig2.setMaxSize(1000000000L);
locations.add(locationConfig2);
origin: org.apache.druid/druid-indexing-service

 public SegmentLoader manufacturate(File storageDir)
 {
  return loader.withConfig(
    new SegmentLoaderConfig().withLocations(Collections.singletonList(new StorageLocationConfig().setPath(storageDir)))
  );
 }
}
org.apache.druid.segment.loadingStorageLocationConfigsetPath

Popular methods of StorageLocationConfig

  • <init>
  • getFreeSpacePercent
  • getMaxSize
  • getPath
  • setMaxSize

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Notification (javax.management)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now