MCPcopy Create free account
hub / github.com/apache/impala / toTCatalogObject

Method toTCatalogObject

fe/src/main/java/org/apache/impala/catalog/Table.java:801–810  ·  view source on GitHub ↗

Generates a TCatalogObject based on the required form. See more details in comments of ThriftObjectType.

(ThriftObjectType resultType)

Source from the content-addressed store, hash-verified

799 * of ThriftObjectType.
800 */
801 public TCatalogObject toTCatalogObject(ThriftObjectType resultType) {
802 switch (resultType) {
803 case FULL: return toTCatalogObject();
804 case DESCRIPTOR_ONLY: return toMinimalTCatalogObject();
805 case INVALIDATION: return toInvalidationObject();
806 case NONE:
807 default:
808 return null;
809 }
810 }
811
812 /**
813 * Return partial info about this table. This is called only on the catalogd to

Callers 15

execResetMetadataImplMethod · 0.95
invalidateDbMethod · 0.95
invalidateTableMethod · 0.95
createFunctionMethod · 0.45
createDataSourceMethod · 0.45
dropDataSourceMethod · 0.45
dropDatabaseMethod · 0.45
dropFunctionMethod · 0.45
addDbToCatalogUpdateMethod · 0.45
refreshAuthorizationMethod · 0.45

Calls 2

toInvalidationObjectMethod · 0.95

Tested by

no test coverage detected