namespace, tableName, columnList, forceApiColumns, externalId);
}
public static TableImpl constructVirtualTableImpl(Class<?> entityClass) {
CustomObject customObjectAnnotation = entityClass.getAnnotation(CustomObject.class);
if (customObjectAnnotation == null || !customObjectAnnotation.virtualSchema()) {
throw new IllegalArgumentException("Trying to construct virtual schema for the class " + entityClass.getName()
+ " but this class is not annotated as virtual schema.");
}
TableName tableName = newInstance(TableName.class, new Class[] {String.class, String.class, Boolean.TYPE},