Package io.crate.exceptions

Examples of io.crate.exceptions.PartitionUnknownException


                    String.format(Locale.ENGLISH, "Invalid partition ident for table '%s': '%s'",
                            table().ident().name(), ident), e);
        }

        if (!table().partitions().contains(this.partitionName)) {
            throw new PartitionUnknownException(
                    this.table().ident().name(),
                    this.partitionName.ident());
        }
    }
View Full Code Here


            String partitionIdent = PartitionPropertiesAnalyzer.toPartitionIdent(
                    context.table(),
                    node.table().partitionProperties(),
                    context.parameters());
            if (!context.partitionExists(partitionIdent)){
                throw new PartitionUnknownException(context.table().ident().fqn(), partitionIdent);
            }
            context.partitionIdent(partitionIdent);
        }
        context.uri(process(node.targetUri(), context));
        context.directoryUri(node.directoryUri());
View Full Code Here

TOP

Related Classes of io.crate.exceptions.PartitionUnknownException

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.