public class DTypeRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_BUILTIN_TYPES |
| Constructor and Description |
|---|
DTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
DType type) |
boolean |
existsType(String name) |
DStructType |
findTypeOrSchemaVersionType(String typeName) |
Set<String> |
getAll() |
List<DType> |
getChildTypes(DType type) |
DTypeHierarchy |
getHierarchy()
Create lazily.
|
List<DType> |
getOrderedList() |
List<DType> |
getParentTypes(DType type) |
DStructType |
getSchemaVersionType() |
DType |
getType(BuiltInTypes builtInType) |
DType |
getType(String name) |
void |
setSchemaVersionType(DStructType dtype) |
int |
size() |
String |
toString() |
public static final int NUM_BUILTIN_TYPES
public DTypeHierarchy getHierarchy()
public int size()
public boolean existsType(String name)
public DType getType(BuiltInTypes builtInType)
public void setSchemaVersionType(DStructType dtype)
public DStructType getSchemaVersionType()
public DStructType findTypeOrSchemaVersionType(String typeName)
Copyright © 2020. All rights reserved.