test_class.declarator: schema
test_class.original_string: Schema schema;
test_class.type: Schema
test_class.var_name: schema
test_class.declarator: col1
test_class.original_string: Column col1;
test_class.type: Column
test_class.var_name: col1
test_class.declarator: col2
test_class.original_string: Column col2;
test_class.type: Column
test_class.var_name: col2
test_class.declarator: col3
test_class.original_string: Column col3;
test_class.type: Column
test_class.var_name: col3
test_class.file: tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestSchema.java
test_class.identifier: TestSchema
test_case.body: @Test(expected = AlreadyExistsFieldException.class)
  	public final void testAddExistColumn() {
      Schema schema = new Schema();
      schema.addColumn("abc", Type.FLOAT8);
      schema.addColumn("bbc", Type.FLOAT8);
      schema.addColumn("abc", Type.INT4);
  	}
test_case.class_method_signature: TestSchema.testAddExistColumn()
test_case.full_signature: @Test(expected = AlreadyExistsFieldException.class) public final void testAddExistColumn()
test_case.identifier: testAddExistColumn
test_case.invocations: addColumn addColumn addColumn
test_case.modifiers: @Test(expected = AlreadyExistsFieldException.class) public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddExistColumn()
focal_class.declarator: LOG = LogFactory.getLog(Schema.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Log LOG = LogFactory.getLog(Schema.class);
focal_class.type: Log
focal_class.var_name: LOG
focal_class.declarator: builder = SchemaProto.newBuilder()
focal_class.modifier: private
focal_class.original_string: private	SchemaProto.Builder builder = SchemaProto.newBuilder();
focal_class.type: SchemaProto.Builder
focal_class.var_name: builder
focal_class.declarator: fields = null
focal_class.modifier: @Expose protected
focal_class.original_string: @Expose protected List<Column> fields = null;
focal_class.type: List<Column>
focal_class.var_name: fields
focal_class.declarator: fieldsByQualifiedName = null
focal_class.modifier: @Expose protected
focal_class.original_string: @Expose protected Map<String, Integer> fieldsByQualifiedName = null;
focal_class.type: Map<String, Integer>
focal_class.var_name: fieldsByQualifiedName
focal_class.declarator: fieldsByName = null
focal_class.modifier: @Expose protected
focal_class.original_string: @Expose protected Map<String, List<Integer>> fieldsByName = null;
focal_class.type: Map<String, List<Integer>>
focal_class.var_name: fieldsByName
focal_class.file: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java
focal_class.identifier: Schema
focal_class.interfaces: implements ProtoObject<SchemaProto>, Cloneable, GsonObject
focal_class.class_method_signature: Schema.Schema()
focal_class.full_signature: public  Schema()
focal_class.identifier: Schema
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Schema()
focal_class.class_method_signature: Schema.Schema(SchemaProto proto)
focal_class.full_signature: public  Schema(SchemaProto proto)
focal_class.identifier: Schema
focal_class.modifiers: public
focal_class.parameters: (SchemaProto proto)
focal_class.signature:  Schema(SchemaProto proto)
focal_class.class_method_signature: Schema.Schema(Schema schema)
focal_class.full_signature: public  Schema(Schema schema)
focal_class.identifier: Schema
focal_class.modifiers: public
focal_class.parameters: (Schema schema)
focal_class.signature:  Schema(Schema schema)
focal_class.class_method_signature: Schema.Schema(Column [] columns)
focal_class.full_signature: public  Schema(Column [] columns)
focal_class.identifier: Schema
focal_class.modifiers: public
focal_class.parameters: (Column [] columns)
focal_class.signature:  Schema(Column [] columns)
focal_class.class_method_signature: Schema.init()
focal_class.full_signature: private void init()
focal_class.identifier: init
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: Schema.setQualifier(String qualifier)
focal_class.full_signature: public void setQualifier(String qualifier)
focal_class.identifier: setQualifier
focal_class.modifiers: public
focal_class.parameters: (String qualifier)
focal_class.return: void
focal_class.signature: void setQualifier(String qualifier)
focal_class.class_method_signature: Schema.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: Schema.getColumn(int id)
focal_class.full_signature: public Column getColumn(int id)
focal_class.identifier: getColumn
focal_class.modifiers: public
focal_class.parameters: (int id)
focal_class.return: Column
focal_class.signature: Column getColumn(int id)
focal_class.class_method_signature: Schema.getColumn(Column column)
focal_class.full_signature: public Column getColumn(Column column)
focal_class.identifier: getColumn
focal_class.modifiers: public
focal_class.parameters: (Column column)
focal_class.return: Column
focal_class.signature: Column getColumn(Column column)
focal_class.class_method_signature: Schema.getColumn(String name)
focal_class.full_signature: public Column getColumn(String name)
focal_class.identifier: getColumn
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: Column
focal_class.signature: Column getColumn(String name)
focal_class.class_method_signature: Schema.getColumnByQName(String qualifiedName)
focal_class.full_signature: private Column getColumnByQName(String qualifiedName)
focal_class.identifier: getColumnByQName
focal_class.modifiers: private
focal_class.parameters: (String qualifiedName)
focal_class.return: Column
focal_class.signature: Column getColumnByQName(String qualifiedName)
focal_class.class_method_signature: Schema.getColumnByName(String columnName)
focal_class.full_signature: private Column getColumnByName(String columnName)
focal_class.identifier: getColumnByName
focal_class.modifiers: private
focal_class.parameters: (String columnName)
focal_class.return: Column
focal_class.signature: Column getColumnByName(String columnName)
focal_class.class_method_signature: Schema.throwAmbiguousFieldException(Collection<Integer> idList)
focal_class.full_signature: private RuntimeException throwAmbiguousFieldException(Collection<Integer> idList)
focal_class.identifier: throwAmbiguousFieldException
focal_class.modifiers: private
focal_class.parameters: (Collection<Integer> idList)
focal_class.return: RuntimeException
focal_class.signature: RuntimeException throwAmbiguousFieldException(Collection<Integer> idList)
focal_class.class_method_signature: Schema.getColumnId(String name)
focal_class.full_signature: public int getColumnId(String name)
focal_class.identifier: getColumnId
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: int
focal_class.signature: int getColumnId(String name)
focal_class.class_method_signature: Schema.getColumnIdByName(String colName)
focal_class.full_signature: public int getColumnIdByName(String colName)
focal_class.identifier: getColumnIdByName
focal_class.modifiers: public
focal_class.parameters: (String colName)
focal_class.return: int
focal_class.signature: int getColumnIdByName(String colName)
focal_class.class_method_signature: Schema.getColumns()
focal_class.full_signature: public List<Column> getColumns()
focal_class.identifier: getColumns
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Column>
focal_class.signature: List<Column> getColumns()
focal_class.class_method_signature: Schema.contains(String name)
focal_class.full_signature: public boolean contains(String name)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean contains(String name)
focal_class.class_method_signature: Schema.contains(Column column)
focal_class.full_signature: public boolean contains(Column column)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (Column column)
focal_class.return: boolean
focal_class.signature: boolean contains(Column column)
focal_class.class_method_signature: Schema.containsByQualifiedName(String qualifiedName)
focal_class.full_signature: public boolean containsByQualifiedName(String qualifiedName)
focal_class.identifier: containsByQualifiedName
focal_class.modifiers: public
focal_class.parameters: (String qualifiedName)
focal_class.return: boolean
focal_class.signature: boolean containsByQualifiedName(String qualifiedName)
focal_class.class_method_signature: Schema.containsByName(String colName)
focal_class.full_signature: public boolean containsByName(String colName)
focal_class.identifier: containsByName
focal_class.modifiers: public
focal_class.parameters: (String colName)
focal_class.return: boolean
focal_class.signature: boolean containsByName(String colName)
focal_class.class_method_signature: Schema.containsAll(Collection<Column> columns)
focal_class.full_signature: public boolean containsAll(Collection<Column> columns)
focal_class.identifier: containsAll
focal_class.modifiers: public
focal_class.parameters: (Collection<Column> columns)
focal_class.return: boolean
focal_class.signature: boolean containsAll(Collection<Column> columns)
focal_class.class_method_signature: Schema.addColumn(String name, Type type)
focal_class.full_signature: public synchronized Schema addColumn(String name, Type type)
focal_class.identifier: addColumn
focal_class.modifiers: public synchronized
focal_class.parameters: (String name, Type type)
focal_class.return: Schema
focal_class.signature: Schema addColumn(String name, Type type)
focal_class.class_method_signature: Schema.addColumn(String name, Type type, int length)
focal_class.full_signature: public synchronized Schema addColumn(String name, Type type, int length)
focal_class.identifier: addColumn
focal_class.modifiers: public synchronized
focal_class.parameters: (String name, Type type, int length)
focal_class.return: Schema
focal_class.signature: Schema addColumn(String name, Type type, int length)
focal_class.class_method_signature: Schema.addColumn(String name, DataType dataType)
focal_class.full_signature: public synchronized Schema addColumn(String name, DataType dataType)
focal_class.identifier: addColumn
focal_class.modifiers: public synchronized
focal_class.parameters: (String name, DataType dataType)
focal_class.return: Schema
focal_class.signature: Schema addColumn(String name, DataType dataType)
focal_class.class_method_signature: Schema.addColumn(Column column)
focal_class.full_signature: public synchronized void addColumn(Column column)
focal_class.identifier: addColumn
focal_class.modifiers: public synchronized
focal_class.parameters: (Column column)
focal_class.return: void
focal_class.signature: void addColumn(Column column)
focal_class.class_method_signature: Schema.addColumns(Schema schema)
focal_class.full_signature: public synchronized void addColumns(Schema schema)
focal_class.identifier: addColumns
focal_class.modifiers: public synchronized
focal_class.parameters: (Schema schema)
focal_class.return: void
focal_class.signature: void addColumns(Schema schema)
focal_class.class_method_signature: Schema.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Schema.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Schema.clone()
focal_class.full_signature: @Override public Object clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object clone()
focal_class.class_method_signature: Schema.getProto()
focal_class.full_signature: @Override public SchemaProto getProto()
focal_class.identifier: getProto
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SchemaProto
focal_class.signature: SchemaProto getProto()
focal_class.class_method_signature: Schema.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Schema.toJson()
focal_class.full_signature: @Override public String toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toJson()
focal_class.class_method_signature: Schema.toArray()
focal_class.full_signature: public Column [] toArray()
focal_class.identifier: toArray
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Column []
focal_class.signature: Column [] toArray()
focal_method.body: public synchronized Schema addColumn(String name, Type type) {
      if (type == Type.CHAR) {
        return addColumn(name, CatalogUtil.newDataTypeWithLen(type, 1));
      }
      return addColumn(name, CatalogUtil.newSimpleDataType(type));
    }
focal_method.class_method_signature: Schema.addColumn(String name, Type type)
focal_method.full_signature: public synchronized Schema addColumn(String name, Type type)
focal_method.identifier: addColumn
focal_method.invocations: addColumn newDataTypeWithLen addColumn newSimpleDataType
focal_method.modifiers: public synchronized
focal_method.parameters: (String name, Type type)
focal_method.return: Schema
focal_method.signature: Schema addColumn(String name, Type type)