public enum RootAllocatorFactory extends Enum<RootAllocatorFactory>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.apache.arrow.memory.RootAllocator |
getOrCreateRootAllocator(long arrowAllocatorLimit) |
org.apache.arrow.memory.RootAllocator |
getRootAllocator(org.apache.hadoop.conf.Configuration conf) |
static RootAllocatorFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RootAllocatorFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RootAllocatorFactory INSTANCE
public static RootAllocatorFactory[] values()
for (RootAllocatorFactory c : RootAllocatorFactory.values()) System.out.println(c);
public static RootAllocatorFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic org.apache.arrow.memory.RootAllocator getRootAllocator(org.apache.hadoop.conf.Configuration conf)
public org.apache.arrow.memory.RootAllocator getOrCreateRootAllocator(long arrowAllocatorLimit)
Copyright © 2022 The Apache Software Foundation. All rights reserved.