Package org.apache.druid.catalog.model
Class ResolvedTable
- java.lang.Object
-
- org.apache.druid.catalog.model.ObjectFacade
-
- org.apache.druid.catalog.model.ResolvedTable
-
public class ResolvedTable extends ObjectFacade
Handle to a table specification along with its definition and the object mapper used to serialize/deserialize its data. This class provides the semantic view of the table specification, without the operational aspects such as version, name, etc.
-
-
Constructor Summary
Constructors Constructor Description ResolvedTable(TableDefn defn, TableSpec spec, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableDefndefn()com.fasterxml.jackson.databind.ObjectMapperjsonMapper()ResolvedTablemerge(TableSpec update)Map<String,Object>properties()TableSpecspec()voidvalidate()ResolvedTablewithProperties(Map<String,Object> props)-
Methods inherited from class org.apache.druid.catalog.model.ObjectFacade
booleanProperty, hasProperty, intProperty, mapProperty, property, stringListProperty, stringProperty
-
-
-
-
Method Detail
-
defn
public TableDefn defn()
-
spec
public TableSpec spec()
-
merge
public ResolvedTable merge(TableSpec update)
-
withProperties
public ResolvedTable withProperties(Map<String,Object> props)
-
validate
public void validate()
-
properties
public Map<String,Object> properties()
- Specified by:
propertiesin classObjectFacade
-
jsonMapper
public com.fasterxml.jackson.databind.ObjectMapper jsonMapper()
-
-