protected List < String > getPersistQueries ( EntityMetadata entityMetadata , Object entity , org . apache . cassandra . thrift . Cassandra . Client conn , List < RelationHolder > rlHolders , Object ttlColumns ) { List < String > queries ; if ( entityMetadata . isCounterColumnType ( ) ) { queries = createUpdateQueryForCounter ( entityMetadata , entity , conn , rlHolders ) ; } else { queries = createInsertQuery ( entityMetadata , entity , conn , rlHolders , ttlColumns ) ; } return queries ; }
Gets the persist queries .