Generates a TCatalogObject based on the required form. See more details in comments of ThriftObjectType.
(ThriftObjectType resultType)
| 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 |
no test coverage detected