org.apache.blur.thrift
Class BlurClusterTest

java.lang.Object
  extended by org.apache.blur.thrift.BlurClusterTest

public class BlurClusterTest
extends Object


Constructor Summary
BlurClusterTest()
           
 
Method Summary
 void createTable(String tableName)
           
 void loadTable(String tableName)
           
 void loadTable(String tableName, int pass)
           
static void shutdownCluster()
           
static void startCluster()
           
 void tearDown()
           
 void testAdminCalls()
           
 void testBackPressureViaQuery()
           
 void testBatchFetch()
           
 void testBlurQueryWithRowId()
           
 void testCreateDisableAndRemoveTable()
           
 void testCreateTableWithCustomType()
           
 void testEnqueue()
           
 void testForEmptySchema()
           
 void testQueryCancel()
           
 void testQueryWithFacets()
           
 void testQueryWithFacetsWithMins()
           
 void testQueryWithSelector()
           
 void testQueryWithSelectorForDeepPagingPerformance()
           
 void testTermsList()
           
 void testTestShardFailover()
           
 void testTrucateRaceCondition()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurClusterTest

public BlurClusterTest()
Method Detail

startCluster

public static void startCluster()
                         throws IOException
Throws:
IOException

shutdownCluster

public static void shutdownCluster()

tearDown

public void tearDown()
              throws org.apache.blur.thrift.generated.BlurException,
                     org.apache.blur.thirdparty.thrift_0_9_0.TException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException

testEnqueue

public void testEnqueue()
                 throws org.apache.blur.thrift.generated.BlurException,
                        org.apache.blur.thirdparty.thrift_0_9_0.TException,
                        InterruptedException,
                        IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException

testBlurQueryWithRowId

public void testBlurQueryWithRowId()
                            throws org.apache.blur.thrift.generated.BlurException,
                                   org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                   InterruptedException,
                                   IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException

testAdminCalls

public void testAdminCalls()
                    throws org.apache.blur.thrift.generated.BlurException,
                           org.apache.blur.thirdparty.thrift_0_9_0.TException,
                           IOException,
                           InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testForEmptySchema

public void testForEmptySchema()
                        throws org.apache.blur.thrift.generated.BlurException,
                               org.apache.blur.thirdparty.thrift_0_9_0.TException,
                               IOException,
                               InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testCreateTableWithCustomType

public void testCreateTableWithCustomType()
                                   throws IOException,
                                          org.apache.blur.thrift.generated.BlurException,
                                          org.apache.blur.thirdparty.thrift_0_9_0.TException
Throws:
IOException
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException

createTable

public void createTable(String tableName)
                 throws org.apache.blur.thrift.generated.BlurException,
                        org.apache.blur.thirdparty.thrift_0_9_0.TException,
                        IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException

loadTable

public void loadTable(String tableName)
               throws org.apache.blur.thrift.generated.BlurException,
                      org.apache.blur.thirdparty.thrift_0_9_0.TException,
                      InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException

loadTable

public void loadTable(String tableName,
                      int pass)
               throws org.apache.blur.thrift.generated.BlurException,
                      org.apache.blur.thirdparty.thrift_0_9_0.TException,
                      InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException

testQueryWithSelector

public void testQueryWithSelector()
                           throws org.apache.blur.thrift.generated.BlurException,
                                  org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                  IOException,
                                  InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testQueryWithSelectorForDeepPagingPerformance

public void testQueryWithSelectorForDeepPagingPerformance()
                                                   throws org.apache.blur.thrift.generated.BlurException,
                                                          org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                                          IOException,
                                                          InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testQueryWithFacets

public void testQueryWithFacets()
                         throws org.apache.blur.thrift.generated.BlurException,
                                org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                IOException,
                                InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testQueryWithFacetsWithMins

public void testQueryWithFacetsWithMins()
                                 throws org.apache.blur.thrift.generated.BlurException,
                                        org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                        IOException,
                                        InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testBatchFetch

public void testBatchFetch()
                    throws org.apache.blur.thrift.generated.BlurException,
                           org.apache.blur.thirdparty.thrift_0_9_0.TException,
                           InterruptedException,
                           IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException

testQueryCancel

public void testQueryCancel()
                     throws org.apache.blur.thrift.generated.BlurException,
                            org.apache.blur.thirdparty.thrift_0_9_0.TException,
                            InterruptedException,
                            IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException

testBackPressureViaQuery

public void testBackPressureViaQuery()
                              throws org.apache.blur.thrift.generated.BlurException,
                                     org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                     InterruptedException,
                                     IOException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException

testTestShardFailover

public void testTestShardFailover()
                           throws org.apache.blur.thrift.generated.BlurException,
                                  org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                  InterruptedException,
                                  IOException,
                                  org.apache.zookeeper.KeeperException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
InterruptedException
IOException
org.apache.zookeeper.KeeperException

testTermsList

public void testTermsList()
                   throws org.apache.blur.thrift.generated.BlurException,
                          org.apache.blur.thirdparty.thrift_0_9_0.TException,
                          IOException,
                          InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testTrucateRaceCondition

public void testTrucateRaceCondition()
                              throws org.apache.blur.thrift.generated.BlurException,
                                     org.apache.blur.thirdparty.thrift_0_9_0.TException,
                                     IOException,
                                     InterruptedException
Throws:
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException
IOException
InterruptedException

testCreateDisableAndRemoveTable

public void testCreateDisableAndRemoveTable()
                                     throws IOException,
                                            org.apache.blur.thrift.generated.BlurException,
                                            org.apache.blur.thirdparty.thrift_0_9_0.TException
Throws:
IOException
org.apache.blur.thrift.generated.BlurException
org.apache.blur.thirdparty.thrift_0_9_0.TException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.