Package com.nearinfinity.honeycomb.mysql.gen

Examples of com.nearinfinity.honeycomb.mysql.gen.AvroIndexSchema


     * @param indexName Name of index schema [Not null, Not empty]
     * @return Index schema by name indexName
     */
    public IndexSchema getIndexSchema(String indexName) {
        Verify.isNotNullOrEmpty(indexName);
        AvroIndexSchema indexSchema = avroTableSchema.getIndices().get(indexName);
        return new IndexSchema(indexName, indexSchema);
    }
View Full Code Here


     * @param isUnique  Is a unique index?
     */
    public IndexSchema(String indexName, List<String> columns, boolean isUnique) {
        checkNotNull(columns);
        Verify.isNotNullOrEmpty(indexName);
        avroIndexSchema = new AvroIndexSchema(ImmutableList.copyOf(columns), isUnique);
        this.indexName = indexName;
    }
View Full Code Here

TOP

Related Classes of com.nearinfinity.honeycomb.mysql.gen.AvroIndexSchema

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.