Examples of AvroIndexSchema


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

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

     * @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
Copyright © 2018 www.massapi.com. 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.